I wasn't specifically thinking of an app, you'd have to make one.
Something as simple as this should do it:
setInterval(function() {
Bangle.on("GPS",function cb(g) {
Bangle.setGPSPower(0,"time");
Bangle.removeListener("GPS",cb);
if (!g.time || (g.time.getFullYear()<2000) ||
(g.time.getFullYear()>2200)) {
// GPS receiver's time not set
} else {
// We have a GPS time. Set time
setTime(g.time.getTime()/1000);
}
});
Bangle.setGPSPower(1,"time");
}, 60*60*1000);
You could actually paste that into the custom boot code app and I think that'd do it
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.
I wasn't specifically thinking of an app, you'd have to make one.
Something as simple as this should do it:
You could actually paste that into the
custom boot code
app and I think that'd do it