Which GPIOs can be used for LED PWM

evgeni
Posts: 1
Joined: Thu Jan 19, 2017 10:09 am

Which GPIOs can be used for LED PWM

Postby evgeni » Thu Jan 19, 2017 10:19 am

Hi,

I want to use LED PWM in ESP32 but I can't understand from the documentation which GPIOs support it? :?:

Thanks,
Evgeni

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Which GPIOs can be used for LED PWM

Postby kolban » Sun Jan 22, 2017 5:03 am

The ESP32 doesn't mandate that GPIO pins are hard-bound to any particular functions. As such, any GPIO pins that support output can be used for LED PWM functions. Specifically, I believe you can use:

GPIOs 0, 1, 2, 3, 4, 5, 12, 13, 14, 15, 16, 17, 18 ,19, 21, 22, 23, 25, 26, 27, 32 and 33.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: No registered users and 63 guests