From 041bf561d6f109ad652ed3fc7ae11256318b57d0 Mon Sep 17 00:00:00 2001 From: tzapu Date: Wed, 3 Jun 2015 18:11:54 +0300 Subject: [PATCH] Create README.md --- README.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..cefb3df --- /dev/null +++ b/README.md @@ -0,0 +1,37 @@ +# WiFiManager +ESP8266 WiFi Connection manager with save to EEPROM and web config portal + +First attempt at a library. + +This works with the ESP8266 Arduino platform https://github.com/esp8266/Arduino + +####Quick Start +- Checkout library to your Arduino libraries folder + +- Include in your sketch + +```Arduino +#include +#include +#include +#include +``` + +- Initialise library, the paramater is the Acces Point Name +``` +WiFiManager wifi("ESP-AP"); +``` + +- In your setup function add +``` +wifi.autoConnect(); +``` + +After you write your sketch and start the ESP, it will try to connect to WiFi. If it fails it starts in Access Point mode. +While in AP mode, connect to it then open a browser to the gateway IP, default 192.168.4.1, configure wifi, save and it should reboot and connect. + + +####Inspiration +- http://www.esp8266.com/viewtopic.php?f=29&t=2520 + +To be continued...