Hi Gordon - I have tried the enableWatchdog method out - but it does not quite work. I also don't quite understand: a reset does not load the saved program, right?
Reset the interpreter - clear program memory, and do not load a saved program from flash. This does NOT reset the underlying hardware (which allows you to reset the device without it disconnecting from USB).
Right now I am calling the watchdog timer in onInit with 10 seconds.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi Gordon - I have tried the enableWatchdog method out - but it does not quite work. I also don't quite understand: a reset does not load the saved program, right?
Right now I am calling the watchdog timer in onInit with 10 seconds.