You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use watchdog in my project, but first I need to understand.....
In Arduino core files (wachdog.ccp - watchdog.h) I find the functions that manage this feature ( watchdogEnable; watchdogDisable; watchdogReset; watchdogDefaultSetup )
but....
In variant.cpp I read (line 319):
// Disable watchdog
WDT_Disable(WDT);
So..... Is it possible to use watchdog? And how to?
Thanks
The text was updated successfully, but these errors were encountered:
SAM3A/X family is different from ATmega. Once you disable the watchdog, you cannot re-enable it.
You may try to comment out that line from "variant.cpp" and add code to handle watchdog in your setup() and loop() functions.
Be aware that it will not be an easy task, because there are many places in OpenTracker code where we have have active waits inside a loop, which may potentially last much longer than the watchdog period.
Hi everybody,
In Arduino core files (wachdog.ccp - watchdog.h) I find the functions that manage this feature ( watchdogEnable; watchdogDisable; watchdogReset; watchdogDefaultSetup )
but....
In variant.cpp I read (line 319):
// Disable watchdog
WDT_Disable(WDT);
So..... Is it possible to use watchdog? And how to?
Thanks
The text was updated successfully, but these errors were encountered: