WDT reset every 30 seconds
Posted: Thu Jul 09, 2015 12:37 pm
ESP8266-01 Test in Arduino.ide for ESP
code:
Results:
1. Wireless Router LinkSys WRTU54G is On: Counter reaches 30 and WDT reset is executed
2. Wireless Router LinkSys WRTU54G is Off: Counter increases, no WDT reset is executed
What can I do for avoiding WDT Resets?
code:
Code: Select all
int Count=0;
int led = 0;
void setup() {
Serial.begin(115200);
pinMode(led, OUTPUT);
}
void loop() {
digitalWrite(led, HIGH);
delay(500);
digitalWrite(led, LOW);
delay(500);
Count++;
Serial.print(Count);
Serial.println(" times");
}
Results:
1. Wireless Router LinkSys WRTU54G is On: Counter reaches 30 and WDT reset is executed
2. Wireless Router LinkSys WRTU54G is Off: Counter increases, no WDT reset is executed
What can I do for avoiding WDT Resets?