mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-19 17:31:30 +10:00
add explicit mode to all examples
So people stop complaining when ap starts by default cause they dont know how esp works.
This commit is contained in:
@@ -10,6 +10,7 @@ WiFiManager wm; // global wm instance
|
||||
WiFiManagerParameter custom_field; // global param ( for non blocking w params )
|
||||
|
||||
void setup() {
|
||||
WiFi.mode(WIFI_STA); // explicitly set mode, esp defaults to STA+AP
|
||||
Serial.begin(115200);
|
||||
Serial.setDebugOutput(true);
|
||||
delay(3000);
|
||||
|
||||
Reference in New Issue
Block a user