In the reference on the function analogWrite an example is given where you use it on LED1, namely analogWrite(LED1,0.5,{ freq : 10 });. However, the code example on Pulse Width Modulation (PWM) specifies that PWM is only available on certain pins, and LED1 is not one of those according to the reference.
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.
In the reference on the function analogWrite an example is given where you use it on LED1, namely
analogWrite(LED1,0.5,{ freq : 10 });
. However, the code example on Pulse Width Modulation (PWM) specifies that PWM is only available on certain pins, and LED1 is not one of those according to the reference.Is it possible to have a pulsing light or not?