Go Down

Topic: set a watchdog for arduino due (Read 2048 times) 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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy