Page 1 of 1

number of PWM channels on esp32 wroom

Posted: Fri Feb 05, 2021 12:32 pm
by micropyro
Hi,

I am having problem setting up more than 6 PWM channels. Based on the description of ESP32 WROOM board it says it can support up to 16 LED PWM (https://en.wikipedia.org/wiki/ESP32#Features) however then I try to setup more than 8 I get an error

Code: Select all

ValueError: out of PWM channels
I am confused. Is it a limitation of micropython or board itself? And if it is a limitation of micropython is there a quick way to increase the limit?
Thanks

Re: number of PWM channels on esp32 wroom

Posted: Tue Feb 09, 2021 11:09 am
by mattyt
This is a known limitation of the ESP32 port - MicroPython is not currently exposing all of the PWM capabilities of the ESP32.

The ESP32 port is intended to receive more attention in the next release and adding better PWM support is a common request so I think there's a good chance this will be addressed soon...

Re: number of PWM channels on esp32 wroom

Posted: Sat Oct 02, 2021 8:15 pm
by CaCO3