Reads the position of a rotary encoderand outputs it with a simple function.
Simple Arduino library used to read the position of an incremental rotary encoder.
Note
Version 2.0.0 and newer use interrupts, if an AVR chip is selected then the PinChangeInterrupt library by @NicoHood will be used, for all other chips Hardware interrupts will be used
Compatibility
This library is compatible with AVR and all other MCUs that have Hardware interrupts. The library was tested on:
-
Arduino NANO
-
Arduino UNO R3
-
Arduino UNO R4 MINIMA
-
Arduino UNO R4 WiFi
-
Seeeduino XIAO SAMD21
MIT License