Nodemcu board support added.
This commit is contained in:
parent
2826cbb983
commit
808cf6a40d
1 changed files with 7 additions and 2 deletions
9
firmware/firmware.ino
Normal file → Executable file
9
firmware/firmware.ino
Normal file → Executable file
|
@ -67,7 +67,12 @@ String localIP = "127.0.0.1";
|
||||||
//*************************************************************************//
|
//*************************************************************************//
|
||||||
|
|
||||||
void setup() {
|
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 ...)
|
// Erase WiFi Credentials (maybe this will work ...)
|
||||||
//WiFi.disconnect(true);
|
//WiFi.disconnect(true);
|
||||||
//delay(2000);
|
//delay(2000);
|
||||||
|
@ -268,4 +273,4 @@ void _loop() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//*************************************************************************//
|
//*************************************************************************//
|
||||||
|
|
Loading…
Reference in a new issue