Releases: igorantolic/ai-esp32-rotary-encoder
1.7
1.6
Corrected version in library to 1.6 to correctly publish a new version
Fixes, new example for custom button handling.
Contains a several fixes.
Also find an updated and new examples of code.
Updated documentation
Updated documentation and corrected a github link.
Small things that sometimes matter.
Support for ESP8266, new button handling
Support for ESP8266 added so now both ESP32 and ESP8266 are supported.
Previous button click handling using interrupt is now obsolete since causing more problems than expected.
Please look at upadated examples how to handle click, properly initialize encoder and avoid crashing.
In most examples is shown using a isEncoderButtonClicked to ask if a button was clicked.
Debuuncing and waiting a button to be released within maximum timeout are supported.
But in case you need detection if button is down you can also use simple isEncoderButtonDown.
Using this you can do your our debouncing logic or advanced things like double click, long click...
AiEsp32RotaryEncoderNumberSelector and support for large numbers
New in version 1.2: AiEsp32RotaryEncoderNumberSelector introduced to help to select for example range -12 do 31.5 in steps of 0.5.
See example: Number-select.ino
Note: for compatibility, it is separated from the main AiEsp32RotaryEncoderNumberSelector - you can still use it.
This is only an additional high-level class that can handle math in more complex examples
Acceleration added in v1.1
A new feature acceleration is added by default.
Initial release
Instructions:
You can download this library and extract into libraries folder (on Windows it is usually %userprofile%\documents\Arduino\libraries\ folder):