That sounds strange - how long does it take before the problem happens? Can you reconnect via USB afterwards? And when you do that does blinking resume again?
Maybe if you can log in when it happens, you could check getTime() and make sure that the value is rising at a rate of 1 per second.
I've set one up here with your code, so I'll see if I can get it to happen.
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 sounds strange - how long does it take before the problem happens? Can you reconnect via USB afterwards? And when you do that does blinking resume again?
Maybe if you can log in when it happens, you could check
getTime()
and make sure that the value is rising at a rate of 1 per second.I've set one up here with your code, so I'll see if I can get it to happen.