madhephaestus / ESP32Servo

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

Update on default timer width that compatible with both ESP32 and ESP32-S3 module #31

Closed NorHairil closed 1 year ago

NorHairil commented 1 year ago

Servo can't work with ESP32-S3 module. Updated the value for DEFAULT_TIMER_WIDTH and DEFAULT_TIMER_WIDTH_TICKS so that it can be used with both ESP32 and ESP32-S3 module. The modification has also been used and is working with ESP32-WROOM.