Example line for static IP as discussed in https://github.com/toblum/McLighting/issues/187

This commit is contained in:
Tobias Blum 2018-06-20 00:08:51 +02:00
parent e499033ef3
commit 1b79fa0874

View file

@ -320,6 +320,10 @@ void setup() {
WiFi.setSleepMode(WIFI_NONE_SLEEP);
// Uncomment if you want to set static IP
// Order is: IP, Gateway and Subnet
//wifiManager.setSTAStaticIPConfig(IPAddress(192,168,0,128), IPAddress(192,168,0,1), IPAddress(255,255,255,0));
//fetches ssid and pass and tries to connect
//if it does not connect it starts an access point with the specified name
//here "AutoConnectAP"