Page 1 of 1

Watchdog Timer

Posted: Tue Oct 11, 2011 9:41 am
by agentgreen
My controller has been locking up on me the last couple of days, and I read about the watchdog timer that will reboot the controller if the timer hasn't been updated in a while (or something :) )

I've defined WDT in my ReefAngelFeatures.h file, is there anything else I need to do in order for this to work?

Thanks!

Re: Watchdog Timer

Posted: Tue Oct 11, 2011 9:42 am
by rimai
This is it.
Just add

Code: Select all

#define WDT
It works on the new optiboot bootloader only.

Re: Watchdog Timer

Posted: Tue Oct 11, 2011 9:45 am
by agentgreen
rimai wrote:This is it.
Just add

Code: Select all

#define WDT
It works on the new optiboot bootloader only.
Cool, thanks.