Releases: LennartHennigs/ESPRotary
Releases · LennartHennigs/ESPRotary
2.1.1
2.1.0
- Added
triggerOnBounds(bool triggerEvents = true
method to be able to suppress rotate events when the boundaries are reached - Made now and time related attributes to
unsigned long
- Replaced cases with lookup table to simplify
loop()
- Simplified state change in the
loop()
- Positions are only set within the defined boundaries
- Some refactoring suggested by GPT-4
2.0.0
-
added speedup functionality as suggested in #37
void setSpeedupInterval(int time); void setSpeedupIncrement(int inc); void enableSpeedup(bool enable); bool isSpeedupEnabled() const; int getSpeedupInterval() const; int getSpeedupIncrement() const; void setSpeedupStartedHandler(CallbackFunction f); void setSpeedupEndedHandler(CallbackFunction f); bool isInSpeedup() const;
-
multiple similar events can now be surpressed
retriggerEvent(bool retrigger)
-
Added ESP8266 and ESP32 interrupt examples
-
refactored loop and event triggering
-
fixed bug with ID
1.6.1
- replaced direction constants with enum
- refactored
loop()
1.6.0
- introduced IDs for encoders
- added == operator
increment, improved ranges and begin()
- added option to define increments
- added begin() function
- added getter and setter for upper and lower bounds
- updated the more complex examples
simplified loop()
for more details see the changelog
v1.4.1
please see the CHANGELOG.md
v1.4
please see changelog for a list of change
added setStepsPerClick() from #12, fixed bug #13
1.3 added setStepsPerClick(), fixed bug #13