Releases: ArminJo/ServoEasing
Releases · ArminJo/ServoEasing
Renamings and bug fix in reattach()
- Fixed serious bug in reattach();
- Renamed InitializeAndCheckI2CConnection() to initializeAndCheckI2CConnection().
- Renamed applyTrimAndreverseToTargetMicrosecondsOrUnits() to applyTrimAndReverseToTargetMicrosecondsOrUnits().
- Housekeeping.
LightweightServo support for ATmega2560, renamings and bug fix
- LightweightServo support for ATmega2560.
- Renamed
mCurrentMicrosecondsOrUnitstomLastTargetMicrosecondsOrUnitsto make clear, that trim and reverse is NOT applied to this value. - Changed
DISABLE_MIN_AND_MAX_CONSTRAINTStoENABLE_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 intto 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_LIBmacro.
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_FREQUENCYmacro. - 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_HANDLERmacro.
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_PARAMETERtoDISABLE_MICROS_AS_DEGREE_PARAMETERthus 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
doWriteforsetTrim()fromfalsetotrue. - 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.cpptoServoEasing.hppandLightweightServo.cpptoLightweightServo.hpp.
ENABLE_MICROS_AS_DEGREE_PARAMETER also available for PCA9685 expander
ENABLE_MICROS_AS_DEGREE_PARAMETERalso available for PCA9685 expander.- Moved
sServoArrayMaxIndex,sServoNextPositionArrayandsServoArraytoServoEasing::sServoArrayMaxIndex,ServoEasing::ServoEasingNextPositionArrayandServoEasing::ServoEasingArray. - Support for Apollo3 2.x core.
- Fixed ESP8266 pin definitions.