Fork of original mRotaryEncoder library supporting more types of encoders (ones with full rise and fall cycle per one rotations).
Diff: mRotaryEncoder.h
- Revision:
- 6:854c349157b0
- Parent:
- 5:75ddffaf3721
- Child:
- 7:ec80fd9c0c08
diff -r 75ddffaf3721 -r 854c349157b0 mRotaryEncoder.h --- a/mRotaryEncoder.h Wed Feb 09 20:18:34 2011 +0000 +++ b/mRotaryEncoder.h Wed Mar 11 21:08:31 2015 +0000 @@ -115,7 +115,7 @@ */ void attachROT(T* tptr, void (T::*mptr)(void)) { if ((mptr != NULL) && (tptr != NULL)) { - rotISR.attach(tptr, mptr); + rotIsr.attach(tptr, mptr); } }