Pages: [1]   Go Down
Author Topic: set a watchdog for arduino due  (Read 1289 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Italy
Offline Offline
Newbie
*
Karma: 1
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: