From 40afb5b8de41bf2fd3448a51a772dcc77f24c2ea Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Thu, 1 Oct 2015 01:07:11 +0200 Subject: [PATCH] Complete documentation --- WiFiWebServer/WiFiWebServer.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WiFiWebServer/WiFiWebServer.ino b/WiFiWebServer/WiFiWebServer.ino index e4a7f5b..4e9fda4 100644 --- a/WiFiWebServer/WiFiWebServer.ino +++ b/WiFiWebServer/WiFiWebServer.ino @@ -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. */