I have just observed the clock stopping ie every call to getTime() returns the same number. This obviously causes my code to stop as all the setInterval code stops firing. Doing a setTime() started it again
My unit is battery powered and I think this happened after I removed the external DC power which feeds the battery charger - so there may have been some sort of voltage event that occurred.
We have another unit working in the field for several weeks and then stop - so I am thinking the same thing happened.
Any ideas what is going on ? How can I recover from this as setting the watchdog did not seem to help.
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 just observed the clock stopping ie every call to getTime() returns the same number. This obviously causes my code to stop as all the setInterval code stops firing. Doing a setTime() started it again
My unit is battery powered and I think this happened after I removed the external DC power which feeds the battery charger - so there may have been some sort of voltage event that occurred.
We have another unit working in the field for several weeks and then stop - so I am thinking the same thing happened.
Any ideas what is going on ? How can I recover from this as setting the watchdog did not seem to help.