When i use ContourClock it happens at seemingly random intervals. Sometimes it runs good for days, sometimes it hangs several times a day. The code in my post above usually hangs after a few minutes. It does not seem to matter whether the code uses intervals or timeouts.
The error can be reproduced by repeatedly connecting/disconnecting via the gadgetbridge app.
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.
When i use ContourClock it happens at seemingly random intervals. Sometimes it runs good for days, sometimes it hangs several times a day. The code in my post above usually hangs after a few minutes. It does not seem to matter whether the code uses intervals or timeouts.
The error can be reproduced by repeatedly connecting/disconnecting via the gadgetbridge app.