madhephaestus / ESP32Servo

Arduino-compatible servo library for the ESP32
138 stars 53 forks source link

pwm channels number definition depends on chip #38

Closed amanenk closed 9 months ago

amanenk commented 1 year ago

according to this documentation link

different kinds of esp32 have different number of pwm channels.

defining 16 channels makes my esp32s3 log to debug that there is no more channels and only 2 pwm outputs work.

madhephaestus commented 1 year ago

oh, cool, with this change, can you access all your PWM's with this library?

amanenk commented 1 year ago

I will do the tests when i get to the device

amanenk commented 9 months ago

Hey. sorry for delayed answer. I have found an error in my latest commit and fixed it. now it works as it should. i confirm that i can access all the pwms