I'd take a look at http://www.espruino.com/Reference#l__global_analogRead
And for the PC side, https://www.espruino.com/Interfacing#bluetooth-le
But basically all you need to do is use the code from the 'Interfacing' page for whatever programming language you want, then replace print("Hello World") with print(analogRead(D3)) (or whatever analog capable pin you want to connect https://www.espruino.com/MDBT42Q#pinout to)
© Espruino, powered by microcosm.
Report a problem