Thanks for your response. The analogWrite appears to work on a non DAC pin, like GPIO5. On a DAC pin, like GPIO26 it will only turn off the LED. It's a bit confusing.
Maybe it will work in a next version, I am OK with this outcome.
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.
Hello Patreon,
Thanks for your response. The
analogWrite
appears to work on a non DAC pin, like GPIO5. On a DAC pin, like GPIO26 it will only turn off the LED. It's a bit confusing.Maybe it will work in a next version, I am OK with this outcome.