mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
No need to disable the watchdog
This commit is contained in:
committed by
Ivan Grokhotkov
parent
ac5c7635cc
commit
ae33d7650d
@ -10,8 +10,6 @@ const int ledPin = 1; // The blue LED on the ESP-01 module is connected
|
||||
|
||||
void setup() {
|
||||
pinMode(ledPin, OUTPUT); // Initialize the ledPin as an output
|
||||
ESP.wdtDisable(); // Disable the watchdog timer built into the ESP8266
|
||||
// otherwise the ESP8266 reboots during the "delay(1000);"
|
||||
}
|
||||
|
||||
// the loop function runs over and over again forever
|
||||
|
Reference in New Issue
Block a user