Question.3
Consider the following code:
Which of the following options is correct?
#include <avr/wdt.h> void setup() { Serial.begin(115200); wdt_enable(8); } void loop() { Serial.println("Watchdog reset!"); delay(8000); wdt_reset(); }
Select Answer
The serial monitor will print "Watchdog reset!" only once.
"Watchdog reset!"
The serial monitor will print "Watchdog reset!"after every ~4 seconds.
The serial monitor will print "Watchdog reset!" after every ~8 seconds.
Nothing will be printed.