mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-22 21:23:07 +03:00
No need to disable the watchdog
This commit is contained in:
parent
7553b67dd7
commit
3e87bb3ce2
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user