brianmichalk
Active member
Why does hitting the watchdog too often not reset the watchdog timer? The following code causes a reset on the Teensy 3.2.
Code:
#include <Adafruit_SleepyDog.h>
void setup() {
Watchdog.enable(5000);
delay(1000);
Serial.begin(115200);
Serial.setTimeout(10);
delay(100);
Serial.println("Setup");
}
void loop() {
Watchdog.reset();
// comment the following line to cause a reset.
delay(1000); Serial.println(".");
}