calculate delay until adjusted time is exact second
wait that delay and then set watch time in seconds
Only one running app must do this or else there will be too much adjustment. I'm currently using code like this in my clock app, but it would be best if it were run in a widget (however I havn't yet learned how to make widgets).
I'd like to try that. Is there an output result (i.e. a word) that needs to be inserted into my watch's code as input after running that? Or if I preface my code with yours, is that all that's necessary?
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.
Well my actual code is more complex but the basic idea is this:
Every 3 hours:
Only one running app must do this or else there will be too much adjustment. I'm currently using code like this in my clock app, but it would be best if it were run in a widget (however I havn't yet learned how to make widgets).