I have a lot of picos running 7/24, powered DC 5v. I discovered also that some picos (V1,85) does not fire setInterval anymore, everything else is working. I do not have a special crystal. But i sync the time via xbee from a server. So i call every several minutes setTime().
@Gordon: Could it be that when i use setTime() to correct the current time that setIntervals are lost because i corrected the time a huge amount to the future ?
I have to dismount carefully a affected pico without powerloss to discover in the IDE what's the state. Is there a way to debug setTimouts or setIntervals ?
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.
I have a lot of picos running 7/24, powered DC 5v. I discovered also that some picos (V1,85) does not fire setInterval anymore, everything else is working. I do not have a special crystal. But i sync the time via xbee from a server. So i call every several minutes setTime().
@Gordon: Could it be that when i use setTime() to correct the current time that setIntervals are lost because i corrected the time a huge amount to the future ?
I have to dismount carefully a affected pico without powerloss to discover in the IDE what's the state. Is there a way to debug setTimouts or setIntervals ?
Thanks
Sacha