You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
671 B
14 lines
671 B
5 years ago
|
#MD_REncoder - Rotary Encoder Library
|
||
|
|
||
|
This is an adaptation of Ben Buxton's excellent [rotary library](http://www.buxtronix.net/2011/10/rotary-encoders-done-properly.html) and implements additional features for encoder rotation speed.
|
||
|
|
||
|
## Features
|
||
|
* Debounce handling with support for high rotation speeds
|
||
|
* Correctly handles direction changes mid-step
|
||
|
* Checks for valid state changes for more robust counting and noise immunity
|
||
|
* Interrupt based or polling in loop()
|
||
|
* Counts full-steps (default) or half-steps
|
||
|
* Calculates speed of rotation
|
||
|
|
||
|
If you like and use this library please consider making a small donation using [PayPal](https://paypal.me/MajicDesigns/4USD)
|