From 808cf6a40de6890ecbf5ad1e480ea6aa5e11202b Mon Sep 17 00:00:00 2001 From: klaute Date: Wed, 6 Feb 2019 21:26:13 +0100 Subject: [PATCH] Nodemcu board support added. --- firmware/firmware.ino | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) mode change 100644 => 100755 firmware/firmware.ino diff --git a/firmware/firmware.ino b/firmware/firmware.ino old mode 100644 new mode 100755 index 50e804e..cc3695e --- a/firmware/firmware.ino +++ b/firmware/firmware.ino @@ -67,7 +67,12 @@ String localIP = "127.0.0.1"; //*************************************************************************// void setup() { - + +#ifdef BOARD_NODEMCU + // on nodemcu v0.1 (aliexpress) the delay is required to prevent a endless reboot bug + delay(100); +#endif + // Erase WiFi Credentials (maybe this will work ...) //WiFi.disconnect(true); //delay(2000); @@ -268,4 +273,4 @@ void _loop() { } -//*************************************************************************// +//*************************************************************************//