Hi Kim, I'm afraid it isn't possible on the Espruino board... I'll update the documentation.
For the latest revision I chose to use pins for the LEDs that were basically useless for anything else (so there was the maximum amount of IO). It means that there aren't any timers for those pins, so no 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.
Hi Kim, I'm afraid it isn't possible on the Espruino board... I'll update the documentation.
For the latest revision I chose to use pins for the LEDs that were basically useless for anything else (so there was the maximum amount of IO). It means that there aren't any timers for those pins, so no PWM.
The pins it's available on are detailed here: http://www.espruino.com/ReferenceESPRUINOBOARD
I've just put an issue in for implementing PWM (analogWrite) in software though - as it would be nice to be able to do it on the LEDs (https://github.com/espruino/Espruino/issues/193)