Skip to content

Releases: ArminJo/ServoEasing

LightweightServo support for ATmega2560, renamings and bug fix

29 Oct 09:19
Compare
Choose a tag to compare
  • LightweightServo support for ATmega2560.
  • Renamed mCurrentMicrosecondsOrUnits to mLastTargetMicrosecondsOrUnits to make clear, that trim and reverse is NOT applied to this value.
  • Changed DISABLE_MIN_AND_MAX_CONSTRAINTS to ENABLE_MIN_AND_MAX_CONSTRAINTS. Constraint checking is now disabled by default.
  • candorgander fixed a bug in printEasingType() for non AVR platforms.

Functions added

29 Aug 12:38
Compare
Choose a tag to compare
  • Added functions setEaseTo(), setEaseToD(), startEaseTo() and startEaseToD() with first parameter as unsigned int to avoid compiler errors call 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()

05 Mar 20:35
Compare
Choose a tag to compare
  • Renamed function setDegreeForAllServos() to setIntegerDegreeForAllServos() and added function setFloatDegreeForAllServos().

ATmega4808 support added

16 Feb 21:47
Compare
Choose a tag to compare
  • 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() to setEaseToForAllServosSynchronizeAndWaitForAllServosToStop().

Added support to pause and resume

05 Aug 17:05
Compare
Choose a tag to compare
  • 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().

30 May 15:37
Compare
Choose a tag to compare
  • Added target reached callback functionality, to enable multiple movements without loop control.
  • Changed ENABLE_MICROS_AS_DEGREE_PARAMETER to DISABLE_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 for setTrim() from false to true.
  • Added min and max constraints for servo write() and DISABLE_MIN_AND_MAX_CONSTRAINTS.

RP2040 support

08 Apr 14:34
Compare
Choose a tag to compare
  • Fix for Nano Ever interrupts #43
  • Documentation

Renamed ServoEasing.cpp to ServoEasing.hpp

08 Oct 12:14
Compare
Choose a tag to compare
  • New attach() functions with initial degree parameter to be written immediately. This replaces the attach() and write() combination at setup.
  • Renamed ServoEasing.cpp to ServoEasing.hpp and LightweightServo.cpp to LightweightServo.hpp.

ENABLE_MICROS_AS_DEGREE_PARAMETER also available for PCA9685 expander

05 Feb 09:20
Compare
Choose a tag to compare
  • ENABLE_MICROS_AS_DEGREE_PARAMETER also available for PCA9685 expander.
  • Moved sServoArrayMaxIndex, sServoNextPositionArray and sServoArray to ServoEasing::sServoArrayMaxIndex, ServoEasing::ServoEasingNextPositionArray and ServoEasing::ServoEasingArray.
  • Support for Apollo3 2.x core.
  • Fixed ESP8266 pin definitions.

Improved LightweightServo API, new compile option ENABLE_MICROS_AS_DEGREE_PARAMETER.

30 Nov 11:37
Compare
Choose a tag to compare
  • 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.