if you would schedule one timeout at button press to kick once after e.g. 4 seconds it could work to increase to 5+4 seconds and could be safer than setInterval or some random kicking
That's a really neat fix! That would make a nice app.
To handle the app reload case I guess all you need is in the boot code you do another setTimeout(...) to kick the watchdog
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.
That's a really neat fix! That would make a nice app.
To handle the app reload case I guess all you need is in the boot code you do another
setTimeout(...)
to kick the watchdog