madhephaestus / ESP32Servo

Arduino-compatible servo library for the ESP32
140 stars 55 forks source link

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

Closed NorHairil closed 2 years ago

NorHairil commented 2 years 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.