Class mRotaryEncoder for mechanical incremental rotary encoders with pushbuttons. Use debouncing and callback-functions for rotation and pressing of button. This version is for old mbed. New version for mbed-os see https://os.mbed.com/users/charly/code/mRotaryEncoder-os/

Dependencies:   PinDetect

Dependents:   SimplePIDBot FinalProgram VS1053Player SPK-DVIMXR ... more

This pull request has been accepted and merged in by Karl Zweimüller

Support more encoder types

Configurable detection of rise/fall events to account for different types of encoders (for example ones with half as much dent points)

Fork of original mRotaryEncoder library supporting more types of encoders (ones with full rise and fall cycle per one rotations).