setWatch(function() { //BTN5 if (timer) clearInterval(timer); timer = undefined; Bangle.setGPSPower(0); drawMoon(offsetMoon, x, y); //offset, x, y }, BTN5, {edge:"rising", debounce:50, repeat:true}); } start(); ===================================================== ERROR: App moonphase's moonphase.app.js is a JS file but isn't valid JS $
@HughB 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.