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
Then E.kickWatchdog() could be added, so you could set auto to false (in which case the interpreter didn't reset the watchdog). You could then use E.kickWatchdog() from JS to manually kick it.
The text was updated successfully, but these errors were encountered:
No problem - as discussed before this doesn't work in ESP8266 though, because it only has one watchdog timer, which is used by the internal WiFi stuff.
Well, this hurt :D We found some cute watchdog ic's for this kind of small tasks for ESP8266 and decided that a central supervisor unit (something more than a supervisor ic, such as a small MCU) would better suite in bigger (more critical) systems because we may need more extensive measures, such as re-flashing the ESP (and/or the other(s)). Anyway, thank you for your support :)
http://forum.espruino.com/conversations/782/#comment12989310
E.enableWatchdog(timeout_in_seconds)
should maybe be:E.enableWatchdog(timeout_in_seconds, auto(bool=true) )
Then
E.kickWatchdog()
could be added, so you could setauto
to false (in which case the interpreter didn't reset the watchdog). You could then useE.kickWatchdog()
from JS to manually kick it.The text was updated successfully, but these errors were encountered: