1
0
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:
probonopd
2015-06-21 17:51:03 +02:00
committed by Ivan Grokhotkov
parent ac5c7635cc
commit ae33d7650d

View File

@ -10,8 +10,6 @@ const int ledPin = 1; // The blue LED on the ESP-01 module is connected
void setup() { void setup() {
pinMode(ledPin, OUTPUT); // Initialize the ledPin as an output 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 // the loop function runs over and over again forever