Releases: ArminJo/ServoEasing
Releases · ArminJo/ServoEasing
LightweightServo support for ATmega2560, renamings and bug fix
- LightweightServo support for ATmega2560.
- Renamed
mCurrentMicrosecondsOrUnits
tomLastTargetMicrosecondsOrUnits
to make clear, that trim and reverse is NOT applied to this value. - Changed
DISABLE_MIN_AND_MAX_CONSTRAINTS
toENABLE_MIN_AND_MAX_CONSTRAINTS
. Constraint checking is now disabled by default. - candorgander fixed a bug in
printEasingType()
for non AVR platforms.
Functions added
- Added functions
setEaseTo()
,setEaseToD()
,startEaseTo()
andstartEaseToD()
with first parameter asunsigned int
to avoid compiler errorscall of overloaded 'startEaseTo(unsigned int...
. - Added functions read() and readMicroseconds() to be compatible to Servo library.
- Added function reattach() without parameters to be used after detach().
- Added
USE_USER_PROVIDED_SERVO_LIB
macro.
Added function setFloatDegreeForAllServos()
- Renamed function
setDegreeForAllServos()
tosetIntegerDegreeForAllServos()
and added functionsetFloatDegreeForAllServos()
.
ATmega4808 support added
- ATmega4808 support added.
- Added function
getCurrentMicroseconds()
. - Improved many and added workaround for ESP32 bug in while loops in examples.
- Added
PCA9685_ACTUAL_CLOCK_FREQUENCY
macro. - Renamed function
synchronizeAndEaseToArrayPositions()
tosetEaseToForAllServosSynchronizeAndWaitForAllServosToStop()
.
Added support to pause and resume
- SAMD51 support by Lutz Aumüller.
- Added support to pause and resume and
DISABLE_PAUSE_RESUME
. - Fixed some bugs for PCA9685 expander introduced in 3.0.0.
- Feather Huzzah support with the help of Danner Claflin.
- Added
ENABLE_EXTERNAL_SERVO_TIMER_HANDLER
macro.
New easing type PRECISION. Added min and max constraints for servo write().
- Added target reached callback functionality, to enable multiple movements without loop control.
- Changed
ENABLE_MICROS_AS_DEGREE_PARAMETER
toDISABLE_MICROS_AS_DEGREE_PARAMETER
thus enabling micros as parameter by default. - Fixed some bugs for micros as parameter.
- Changed constants for easing types.
- Additional parameter aUserDataPointer for user easing function.
- New easing type
PRECISION
. - New function
printEasingType()
. - Easing functions are converted to static member functions now.
- Easing types can be disabled individually.
- Improved PCA9685 handling / support for SoftI2CMaster.
- Changed default for parameter
doWrite
forsetTrim()
fromfalse
totrue
. - Added min and max constraints for servo write() and
DISABLE_MIN_AND_MAX_CONSTRAINTS
.
RP2040 support
- Fix for Nano Ever interrupts #43
- Documentation
Renamed ServoEasing.cpp to ServoEasing.hpp
- New
attach()
functions with initial degree parameter to be written immediately. This replaces theattach()
andwrite()
combination at setup. - Renamed
ServoEasing.cpp
toServoEasing.hpp
andLightweightServo.cpp
toLightweightServo.hpp
.
ENABLE_MICROS_AS_DEGREE_PARAMETER also available for PCA9685 expander
ENABLE_MICROS_AS_DEGREE_PARAMETER
also available for PCA9685 expander.- Moved
sServoArrayMaxIndex
,sServoNextPositionArray
andsServoArray
toServoEasing::sServoArrayMaxIndex
,ServoEasing::ServoEasingNextPositionArray
andServoEasing::ServoEasingArray
. - Support for Apollo3 2.x core.
- Fixed ESP8266 pin definitions.
Improved LightweightServo API, new compile option ENABLE_MICROS_AS_DEGREE_PARAMETER.
- Added compile option
ENABLE_MICROS_AS_DEGREE_PARAMETER
to allow usage of microseconds instead of degree as function arguments for all functions using degrees as argument. - Improved LightweightServo API.