This should work just fine. I just tested it out with the exact same pin.
Have you updated to the latest version of the Espruino software? Could you also tell some more on how you wired up the LED? Finally, could you try just typing analogWrite()? This should give you a list of all the pins capable of PWM.
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.
This should work just fine. I just tested it out with the exact same pin.
Have you updated to the latest version of the Espruino software? Could you also tell some more on how you wired up the LED? Finally, could you try just typing
analogWrite()
? This should give you a list of all the pins capable of PWM.