Hmm, not sure what's up...
Did you see the recent 1v86 release? You could try using E.kickWatchdog() - it's not ideal, but might be good enough?
E.kickWatchdog()
Also, if you want to avoid setTime then you could potentially do something like:
setTime
var timeOffs = 0; function safeSetTime(t) { timeOffs = t-getTime(); } function safeGetTime() { return timeOffs + getTime(); }
@Gordon started
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.
Hmm, not sure what's up...
Did you see the recent 1v86 release? You could try using
E.kickWatchdog()
- it's not ideal, but might be good enough?Also, if you want to avoid
setTime
then you could potentially do something like: