Releases: RoboticsBrno/ServoESP32
Releases · RoboticsBrno/ServoESP32
v1.1.1
v1.1.0
This release should fix a compatibility issue with ESP32-S2/S3/C3, where the resolution was configured to too high in ledcSetup
and frequency too low. For these chips, the minimal frequency seems to be 200 Hz which you can set in attach(...)
function.
The changes are only tested on an ESP32-S3-DevKitC-1.
This should solve issue #18.
Added this functionality:
- Configurable frequency
- Defaults to 50 hz
- Also tested at 333hz which is common for modern servos.
- Users can now instantiate ServoFloat and ServoDouble in addition to Servo.
- This is to allow using radians, which would get truncated with integers. Also when using degrees this is beneficial if you want better resolution than 1 degree.
- The implementation must be in the header file for template classes.
- ServoBase class is shared between all template versions of ServoTemplate, so the static variable channel_next_free is shared.
- Added an example for how to use ServoFloat with radians.
Thank you for your contribution @mikaeltulldahl and @h2zero
Release v1.0.3
Fix Servo::attached()
:
- fix
Servo::attached()
return value afterServo::detach()
called
Release v1.0.2
Change name/URL and description of this library - change name/URL of the repository from `ESP32-Arduino-Servo-Library` to `ServoESP32` - add little bit better description senstense