Hi,
There's nothing at the moment, but you can just override the setTime function:
var _setTime = setTime; setTime = function(t) { _setTime(t); // time updated };
Is there easy way to undo that? So I don't end up with 1000 layers of setTime if I add that every time I upload app to Bangle.js 2 ?
btw, I'd love to have this event also for clock drift detection which needs to know if setTime is ever used.
setTime
@Gordon started
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,
There's nothing at the moment, but you can just override the setTime function: