Yeah the code code be improved, it was more the concept I wanted to discuss. Good point about Bangle.isGPSOn!==undefind thats a much better idea, no hard coding of version numbers etc.
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.
Yeah the code code be improved, it was more the concept I wanted to discuss. Good point about
Bangle.isGPSOn!==undefind
thats a much better idea, no hard coding of version numbers etc.