Quadrature encoder interface library.

Dependents:   PreHeater-Rev2

Fork of QEI by Aaron Berk

Revision:
1:aea205976bf8
Parent:
0:5c2ad81551aa
diff -r 5c2ad81551aa -r aea205976bf8 QEI.h
--- a/QEI.h	Thu Sep 02 16:48:55 2010 +0000
+++ b/QEI.h	Tue Jul 28 18:57:19 2015 +0000
@@ -176,7 +176,7 @@
      *                 of only channel A where as X4 uses them on both
      *                 channels.
      */
-    QEI(PinName channelA, PinName channelB, PinName index, int pulsesPerRev, Encoding encoding = X2_ENCODING);
+    QEI(PinName channelA, PinName channelB, PinName index, PinMode intRes, int pulsesPerRev, Encoding encoding = X2_ENCODING);
 
     /**
      * Reset the encoder.