Digistump Forums

The DigiX => DigiX Project Ideas => Topic started by: gogol on April 14, 2014, 05:38:31 am

Title: Better WDT solution than two different board designs
Post by: gogol on April 14, 2014, 05:38:31 am
Playing around with some Watchdog functions, I came to a solution, which would make two different board definitions obsolete:
As that should go to the Arduino-lib, I opened a thread in the Arduino forum: (http://forum.arduino.cc/index.php?topic=233175.0)

The basic idea is just define a weak function WDT_Init();, which can be overloaded in the main program.  Please review my idea, if I miss something.
Title: Re: Better WDT solution than two different board designs
Post by: digistump on April 14, 2014, 11:52:15 pm
That's a great idea!

Does anyone else have any opinions on it?

The next release for DigiX I'll add this in - unless Arduino does first.
Title: Re: Better WDT solution than two different board designs
Post by: gogol on April 15, 2014, 01:11:11 am
I just updated my thoughts in the Arduino forum. I hope, to get it in there, because that would be the right place and would make code much more compliant.