|
|
|
@ -3,6 +3,8 @@
|
|
|
|
|
* The server will set a GPIO pin depending on the request |
|
|
|
|
* http://server_ip/gpioX/0 will set the GPIOX low,
|
|
|
|
|
* http://server_ip/gpioX/1 will set the GPIOX high,
|
|
|
|
|
* http://server_ip/gpioX will return GPIOX value,
|
|
|
|
|
* http://server_ip/mode/gpioX/Y will set the GPIOX mode to Y (with Y in 0=INPUT, 1=OUTPUT, 2=INPUT_PULLUP),
|
|
|
|
|
* server_ip is the IP address of the ESP8266 module, will be |
|
|
|
|
* printed to Serial when the module is connected. |
|
|
|
|
*/ |
|
|
|
|