ServoEasing

Device Control

Enables smooth servo movement. Linear as well as other (Cubic, Circular, Bounce, etc.) ease movements for servos are provided. The Arduino Servo library or PCA9685 servo expanders are supported.
Just use myServo.easeTo() instead of myServo.write() and you have smooth servo movement.Non blocking movement for all servos attached to the Arduino Servo library is implemented by reusing the interrupts of the Arduino servo timer.All servos can move synchronized.Includes the following easing functions:Linear, Quadratic, Cubic and QuarticSine, Circular, Back, Elastic and BounceUser definedEach function supports the easing types In, Out, InOut and BouncingOutInTrim and reverse operations are supported as well as continuous rotating servos.New: New attach() functions with initial degree parameter to be written immediately. Renamed ServoEasing.cpp to ServoEasing.hpp.

Author: Armin Joachimsmeyer

Maintainer: Armin Joachimsmeyer

Read the documentation

Compatibility

This library is compatible with the avr, megaavr, sam, samd, esp8266, esp32, stm32, STM32F1, apollo3, mbed, mbed_nano architectures so you should be able to use it on the following Arduino boards:

Releases

To use this library, open the Library Manager in the Arduino IDE and install it from there.