There isn't a way to do it at the moment - it wouldn't be ideal because you'd have to use the RTC which is only accurate to 1/32768th of a second, but I know what you mean - it's better than nothing.
Right now I'd say it's best to use setBusyIndicator/setSleepIndicator and an oscilloscope.
also give an idea of the eventuals problems of lost data when getting out of deep sleep mode.
What do you mean? Like issues waking up to respond to serial data?
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.
There isn't a way to do it at the moment - it wouldn't be ideal because you'd have to use the RTC which is only accurate to 1/32768th of a second, but I know what you mean - it's better than nothing.
Right now I'd say it's best to use setBusyIndicator/setSleepIndicator and an oscilloscope.
What do you mean? Like issues waking up to respond to serial data?