The microcontroller itself has an RTC built in. While there's no external low-speed oscillator, there is a high speed oscillator and the microcontroller uses that to calibrate the internal low-speed oscillator.
Bluetooth Low Energy demands a certain level of accuracy of the microcontroller, and that tends to be more than good enough for a clock.
But... since there's a GPS receiver, that itself has a very accurate clock in it too, so while Bangle.js doesn't request the time from it (unless it's had a cold reboot and lost the time) it'd be pretty easy to poll it every so often.
... also if you're using Gadgetbridge you can sync the time automatically with that too, but it's really not needed
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.
Hi,
The microcontroller itself has an RTC built in. While there's no external low-speed oscillator, there is a high speed oscillator and the microcontroller uses that to calibrate the internal low-speed oscillator.
Bluetooth Low Energy demands a certain level of accuracy of the microcontroller, and that tends to be more than good enough for a clock.
But... since there's a GPS receiver, that itself has a very accurate clock in it too, so while Bangle.js doesn't request the time from it (unless it's had a cold reboot and lost the time) it'd be pretty easy to poll it every so often.
... also if you're using Gadgetbridge you can sync the time automatically with that too, but it's really not needed