Skip to content

Releases: LennartHennigs/ESPRotary

2.1.1

27 Apr 06:46
Compare
Choose a tag to compare
  • fixed bug in setIncrement() as pointed out by WJurasek-KV

2.1.0

13 Apr 20:09
70364ff
Compare
Choose a tag to compare
  • 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

27 Dec 17:28
Compare
Choose a tag to compare
  • 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

24 Dec 08:18
Compare
Choose a tag to compare
  • replaced direction constants with enum
  • refactored loop()

1.6.0

26 May 10:52
Compare
Choose a tag to compare
  • introduced IDs for encoders
  • added == operator

increment, improved ranges and begin()

22 Jun 18:02
Compare
Choose a tag to compare
  • added option to define increments
  • added begin() function
  • added getter and setter for upper and lower bounds
  • updated the more complex examples

simplified loop()

21 Feb 20:31
Compare
Choose a tag to compare

for more details see the changelog

v1.4.1

29 Nov 09:15
Compare
Choose a tag to compare

please see the CHANGELOG.md

v1.4

26 Nov 19:07
Compare
Choose a tag to compare

please see changelog for a list of change

added setStepsPerClick() from #12, fixed bug #13

26 Jun 06:15
Compare
Choose a tag to compare
1.3

added setStepsPerClick(), fixed bug #13