Browse Source

Nodemcu board support added.

klaute 1 year ago
parent
commit
808cf6a40d
1 changed files with 7 additions and 2 deletions
  1. 7
    2
      firmware/firmware.ino

+ 7
- 2
firmware/firmware.ino View File

@@ -67,7 +67,12 @@ String localIP = "127.0.0.1";
67 67
 //*************************************************************************//
68 68
 
69 69
 void setup() {
70
-  
70
+
71
+#ifdef BOARD_NODEMCU
72
+  // on nodemcu v0.1 (aliexpress) the delay is required to prevent a endless reboot bug
73
+  delay(100);
74
+#endif
75
+
71 76
   // Erase WiFi Credentials (maybe this will work ...)
72 77
   //WiFi.disconnect(true);
73 78
   //delay(2000);
@@ -268,4 +273,4 @@ void _loop() {
268 273
 
269 274
 }
270 275
 
271
-//*************************************************************************//
276
+//*************************************************************************//

Loading…
Cancel
Save