The EncoderTool is a library to manage and read out rotary encoders connected either directly or via multiplexers to ARM based boards. Encoder push buttons are supported. Callback functions can be attached to encoder changes and button presses to allow for event driven applications
Switches from std::function to stdex::inplace_function for callbacks fixes a namespace issue when using the encodertool together with the timertool
The changes were quite massive and some bugs are likely. -> Please do report any bugs, observations and not supported boards
Fixed an error in library.json preventing installation in platformIO. Needed to retag to trigger a library scan in PIO
Full Changelog: https://github.com/luni64/EncoderTool/compare/v2.3.0...v2.3.1
New features:
Bugfixes:
void(*)(...)
callbacks works now and is recommended for memory challenged boards.class Encoder
) is now interrupt based (no need to call encoder.tick() in loop anymore)class PollingEncoder