Nope - afraid E.getRTCPrescaler is just for STM32s
(A more serious reboot seems to replace the time with a default time.)
Hmm. Are you running firmware 2v09 or not? I thought I'd fixed this in the most recent firmwares.
Would the script be more likely to work as desired if embedded into the watch's own script?
Maybe... However it should work. Maybe you could add something to the script so you can detect if it's working. Like maybe just add the code _MYSCRIPT_=1 to the end of what you upload.
Then you can log in with the IDE and see if typing _MYSCRIPT_ on the left-hand side actually returns 1 (it working) or a ReferenceError (it not loaded)
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.
Nope - afraid
E.getRTCPrescaler
is just for STM32sHmm. Are you running firmware 2v09 or not? I thought I'd fixed this in the most recent firmwares.
Maybe... However it should work. Maybe you could add something to the script so you can detect if it's working. Like maybe just add the code
_MYSCRIPT_=1
to the end of what you upload.Then you can log in with the IDE and see if typing
_MYSCRIPT_
on the left-hand side actually returns 1 (it working) or aReferenceError
(it not loaded)