Try analogRead(D0), but I'm not sure anyone has tested the ADC functionality. The docs don't match reality, we need help from Gordon to define the A0 pin for the esp8266...
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.
Try
analogRead(D0)
, but I'm not sure anyone has tested the ADC functionality. The docs don't match reality, we need help from Gordon to define the A0 pin for the esp8266...