ESPRotary Versions Save

Arduino/ESP library to simplify reading rotary encoder data.

2.1.1

1 year ago
  • fixed bug in setIncrement() as pointed out by WJurasek-KV

2.1.0

1 year ago
  • 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

1 year ago
  • 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

1 year ago
  • replaced direction constants with enum
  • refactored loop()

1.6.0

1 year ago
  • introduced IDs for encoders
  • added == operator

1.5.0

2 years ago
  • added option to define increments
  • added begin() function
  • added getter and setter for upper and lower bounds
  • updated the more complex examples

1.4.2

3 years ago

for more details see the changelog

1.4.1

3 years ago

please see the CHANGELOG.md

1.4

3 years ago

please see changelog for a list of change

1.3

3 years ago