Merge pull request #284 from robertoostenveld/master

use setAPStaticIPConfig instead  of (old?) setAPConfig in first example
This commit is contained in:
tzapu
2017-02-02 02:57:55 -08:00
committed by GitHub
+1 -1
View File
@@ -17,7 +17,7 @@ void setup() {
//wifiManager.resetSettings();
//set custom ip for portal
//wifiManager.setAPConfig(IPAddress(10,0,1,1), IPAddress(10,0,1,1), IPAddress(255,255,255,0));
//wifiManager.setAPStaticIPConfig(IPAddress(10,0,1,1), IPAddress(10,0,1,1), IPAddress(255,255,255,0));
//fetches ssid and pass from eeprom and tries to connect
//if it does not connect it starts an access point with the specified name