-
Notifications
You must be signed in to change notification settings - Fork 19
Reconnecting Feather WICED to Wifi #83
Copy link
Copy link
Open
Description
This is just a tracking issue to follow along for https://forums.adafruit.com/viewtopic.php?f=57&t=114903. As best as I could tell it still hasn't been resolved, although there is a workaround provided of using a watchdog timer to reset the board if it hangs. More info on watchdog timers at http://librambutan.readthedocs.io/en/latest/libmaple/api/iwdg.html.
#include <iwdg.h>
// ...
// turn on to recover after hang
boolean useWDT = true;
void setup()
{
//...
if( useWDT )
{
iwdg_init(IWDG_PRE_128, 11500000);
}
}
void loop()
{
// ...
# Call this to reset the watchdog timer.
# If it isn't called then the board will reset.
iwdg_feed();
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels