Go Down

Topic: set a watchdog for arduino due (Read 1 time) previous topic - next topic

vince22

Hi everyone,

I'm really a starter to aduino due and still find it hard to read the datasheet. (http://www.atmel.com/Images/doc11057.pdf) I've been trying to use a watchdog for my program. And more specifically, I wish to set a timer for like 2 secs or so, and if there is a fault or error, the watchdog will reset the whole system. Can someone help me figure out the code? Like what should I write down in setup() and other functions? Many thanks.

SimonCino

I believe that the following post can be of your interest to start working with the WDT:

http://arduino.cc/forum/index.php/topic,152885.msg1149434.html#msg1149434

Kind Regards

Go Up