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

Revision:
1:bb7b4e631dff
Parent:
0:562943b05e99
Child:
2:f99ac9745a2c
--- a/mRotaryEncoder.h	Mon Nov 29 21:25:13 2010 +0000
+++ b/mRotaryEncoder.h	Mon Nov 29 21:38:17 2010 +0000
@@ -4,7 +4,7 @@
 #include "mbed.h"
 
 
-/* This Class handles a rotary encoder with mechanical switches and an integrated pushbutton
+/** This Class handles a rotary encoder with mechanical switches and an integrated pushbutton
  * It uses two pins, one creating an interrupt on change.
  * Rotation direction is determined by checking the state of the other pin.
  * Additionally a pushbutton switch is detected
@@ -14,7 +14,7 @@
  * A new value can be set by Set(value) or opperator=.
  *
  * Autor: Thomas Raab (Raabinator)
- * Extendey by Karl Zweimueller (charly)
+ * Extended by Karl Zweimueller (charly)
  *
  * Dent steady point     !     !     !
  *                    +-----+     +-----+