Dlloydev / ESP32-ESP32S2-AnalogWrite

ESP32 PWM, Servo, Easing and Tone. Smart GPIO pin management and advanced control features.
MIT License
100 stars 17 forks source link

servo.write(float) missing #44

Open DieKatzchen opened 6 months ago

DieKatzchen commented 6 months ago

servo.write(float) is missing. This breaks drop-in compatibility with other servo libraries. I have to do an #ifdef ESP32 for the #define and then another #ifdef ESP32 to have two versions of every servo.write() call. servo.write() should use the pin specified by servo.attach() if available.