From 1df46166b71121b4d06a99e961ad571c217a5e69 Mon Sep 17 00:00:00 2001 From: Armin Date: Tue, 29 Oct 2024 10:13:07 +0100 Subject: [PATCH] Bumped version to 3.4.0 --- README.md | 1 + examples/CatMover/CatMover.ino | 2 +- src/ServoEasing.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 14a3959..9e1458b 100644 --- a/README.md +++ b/README.md @@ -439,6 +439,7 @@ This will print internal information visible in the Arduino *Serial Monitor* whi - 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. ### Version 3.3.0 - Added functions `setEaseTo()`, `setEaseToD()`, `startEaseTo()` and `startEaseToD()` with first parameter as `unsigned int` to avoid compiler errors `call of overloaded 'startEaseTo(unsigned int...`. diff --git a/examples/CatMover/CatMover.ino b/examples/CatMover/CatMover.ino index cdb8c27..4978174 100644 --- a/examples/CatMover/CatMover.ino +++ b/examples/CatMover/CatMover.ino @@ -28,7 +28,7 @@ // Must specify this before the include of "ServoEasing.hpp" //#define USE_PCA9685_SERVO_EXPANDER // Activating this enables the use of the PCA9685 I2C expander chip/board. //#define USE_SERVO_LIB // If USE_PCA9685_SERVO_EXPANDER is defined, Activating this enables force additional using of regular servo library. -//#define USE_LIGHTWEIGHT_SERVO_LIBRARY // Makes the servo pulse generating immune to other libraries blocking interrupts for a longer time like SoftwareSerial, Adafruit_NeoPixel and DmxSimple. +//#define USE_LIGHTWEIGHT_SERVO_LIBRARY // Makes the servo pulse generating immune to other libraries blocking interrupts for a longer time like SoftwareSerial, Adafruit_NeoPixel and DmxSimple and save 684 bytes program memory. //#define PROVIDE_ONLY_LINEAR_MOVEMENT // Activating this disables all but LINEAR movement. Saves up to 1540 bytes program memory. //#define DISABLE_COMPLEX_FUNCTIONS // Activating this disables the SINE, CIRCULAR, BACK, ELASTIC, BOUNCE and PRECISION easings. Saves up to 1850 bytes program memory. //#define MAX_EASING_SERVOS 3 diff --git a/src/ServoEasing.h b/src/ServoEasing.h index 398041e..5315193 100644 --- a/src/ServoEasing.h +++ b/src/ServoEasing.h @@ -782,6 +782,7 @@ bool checkI2CConnection(uint8_t aI2CAddress, Stream *aSerial); // Print class ha * - 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. * * Version 3.3.0 - 08/2024 * - Added functions `setEaseTo()`, `setEaseToD()`, `startEaseTo()` and `startEaseToD()` with first parameter as `unsigned int` to avoid compiler errors `call of overloaded 'startEaseTo(unsigned int...`.