Esp32servo 180degree limit

HI
I want to use the ESP32servo library for a project but the library is limited to 180° rotation. How can I modify the library to use the 270° of my servo?
thanks

Did you ask the libaries author?

You can edit the limit of 2500uS to be whatever you want.

Me. I'd use the ESP32's MCPWM API and just program it to use 270 degrees.

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/mcpwm.html

What angle does the servo actually move to if you write 180 to it ?

ok I found the problem, they sent me the wrong servo..

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.