ESP8266 info can be found here: https://github.com/espruino/EspruinoDocs/blob/master/boards/EspruinoESP8266.md Or more nicely formatted but a tad older here http://www.espruino.com/EspruinoESP8266 There is no analog output and the HW PWM doesn't work. I haven't tried what happens with AnalogWrite, but it would have to be a "D" pin. A0 is only for analog input (and very limited plus noisy at that).
@tve 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.
ESP8266 info can be found here: https://github.com/espruino/EspruinoDocs/blob/master/boards/EspruinoESP8266.md
Or more nicely formatted but a tad older here http://www.espruino.com/EspruinoESP8266
There is no analog output and the HW PWM doesn't work. I haven't tried what happens with AnalogWrite, but it would have to be a "D" pin. A0 is only for analog input (and very limited plus noisy at that).