Hi! I’m applying the LED Control (LEDC) PWM to control the servo motor, it worked well. And now I need to control further than 8, I’ve checked the ESP32 datasheet, and there have 16 channels can use 8 in High – ...Read more
Hi!
I’m applying the LED Control (LEDC) PWM to control the servo motor, it worked well.
And now I need to control further than 8, I’ve checked the ESP32 datasheet, and there have 16 channels can use 8 in High – speed mode, and 8 in Low – speed mode.
But the ledc library does not support low- speed mode right now, is there any way to use led pwn in low- speed mode?
Like, write the register directly?
thanks!
Read less
Not sure if the driver does not support all 16 channels. they may just not be supporting the low- speed option of the low- speed channels. But anyway, if you want to poke at the registers yourself, the LED PWM controller is documented in the TRM. Do not forget to actually turn the peripheral on, andRead more
Not sure if the driver does not support all 16 channels. they may just not be supporting the low- speed option of the low- speed channels. But anyway, if you want to poke at the registers yourself, the LED PWM controller is documented in the TRM. Do not forget to actually turn the peripheral on, and you should get it going enough quickly.