auto generated AP name

pretty buttons
This commit is contained in:
Alex Tudorache
2015-11-10 11:04:01 +02:00
parent 87911808ab
commit e55057f686
4 changed files with 13 additions and 4 deletions
+5
View File
@@ -33,6 +33,11 @@ WiFiManager wifi;
```
//parameter is name of access point
wifi.autoConnect("AP-NAME");
```
or if you want to use and auto generated name from 'ESP' and the esp's Chip ID use
```
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.