The DigiX > DigiX Project Ideas

Better WDT solution than two different board designs

(1/1)

gogol:
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:

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.

digistump:
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.

gogol:
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.



Navigation

[0] Message Index

Go to full version