Looks like the issue is in E.getBattery(). This freezes:
E.getBattery()
var ctr = 0; g.clear(); Bangle.setHRMPower(1); g.setFont("6x8", 3); setInterval(function(){ g.drawString(ctr.toString(),60,60,true); ctr++; E.getBattery(); },1);
Ctrl-C does nothing.
Edit: the call to setGPSPower isn't needed to get the hang.
setGPSPower
@NebbishHacker 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.
Looks like the issue is in
E.getBattery()
. This freezes:Ctrl-C does nothing.
Edit: the call to
setGPSPower
isn't needed to get the hang.