I've worked around it for now by editing widbatpc.wid.js on the watch, replacing E.getBattery() with a call to a custom getBattery() function:
function getBattery() { var battery = Math.round((analogRead(D3) - 0.375) / .00106); return battery; }
That should tide me over until @Gordon returns.
@user138058 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.
I've worked around it for now by editing widbatpc.wid.js on the watch, replacing E.getBattery() with a call to a custom getBattery() function:
That should tide me over until @Gordon returns.