mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-04 02:48:13 +10:00
This commit is contained in:
@@ -10,7 +10,7 @@ void setup() {
|
||||
//wm.resetSettings();
|
||||
|
||||
wm.setConfigPortalBlocking(false);
|
||||
|
||||
wm.setConfigPortalTimeout(60);
|
||||
//automatically connect using saved credentials if they exist
|
||||
//If connection fails it starts an access point with the specified name
|
||||
if(wm.autoConnect("AutoConnectAP")){
|
||||
@@ -19,6 +19,9 @@ void setup() {
|
||||
else {
|
||||
Serial.println("Configportal running");
|
||||
}
|
||||
|
||||
wm.startConfigPortal();
|
||||
// wm.startWebPortal();
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
||||
Reference in New Issue
Block a user