I just booted up a fresh 2v07 Puck.js and uploaded:
print(E.getBattery(), NRF.getBattery(), Puck.getBatteryPercentage());
via the Web IDE, to RAM, and I get:
100 2.84765625 100 // or if I turn LED1 on first to stress the battery 79 2.68242187500 79
So at least in a basic way it seems to be working. However it seems if I do analogRead(D2) first then I can break it even until a hard reboot...
analogRead(D2)
I'll get a fix in for this now - I'm planning a 2v08 release this week so hopefully it'll be in that
@Gordon 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 just booted up a fresh 2v07 Puck.js and uploaded:
via the Web IDE, to RAM, and I get:
So at least in a basic way it seems to be working. However it seems if I do
analogRead(D2)
first then I can break it even until a hard reboot...I'll get a fix in for this now - I'm planning a 2v08 release this week so hopefully it'll be in that