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 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'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")
withprint(analogRead(D3))
(or whatever analog capable pin you want to connect https://www.espruino.com/MDBT42Q#pinout to)