Several clock use something like 1000 - (Date.now() % 1000) to calculate the time to wait for the next full second.
You should be able to do something like
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.
Several clock use something like
1000 - (Date.now() % 1000)
to calculate the time to wait for the next full second.You should be able to do something like
to get somewhat precise second long intervals starting on the next full second according to internal Bangle time.