Here's what I get for a sequence of E.getBattery() and analogRead(D3) calls:
E.getBattery() =100
analogRead(D3) =0.45239257812 analogRead(D3) =0.451171875 analogRead(D3) =0.45263671875 analogRead(D3) =0.45239257812 analogRead(D3) =0.45190429687 analogRead(D3) =0.4521484375 analogRead(D3) =0.4521484375 E.getBattery() =100 E.getBattery() =100 analogRead(D3) =0.45263671875 analogRead(D3) =0.453125 analogRead(D3) =0.45190429687 analogRead(D3) =0.45288085937 analogRead(D3) =0.45239257812
@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.
Here's what I get for a sequence of E.getBattery() and analogRead(D3) calls:
E.getBattery()
=100