I don't think the analogue Input on the esp8266 works properly if wifi is on, as interupts affect the reading of the adc value. If you turn wifi off, it might work...
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 don't think the analogue Input on the esp8266 works properly if wifi is on, as interupts affect the reading of the adc value. If you turn wifi off, it might work...