Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of QEI by
Revision 1:c390ea9c642e, committed 2014-10-15
- Comitter:
- bluewindsrl
- Date:
- Wed Oct 15 15:19:20 2014 +0000
- Parent:
- 0:5c2ad81551aa
- Commit message:
- modify QEY.h, configuration X4_encoding
Changed in this revision
| QEI.h | Show annotated file Show diff for this revision Revisions of this file | 
--- a/QEI.h	Thu Sep 02 16:48:55 2010 +0000
+++ b/QEI.h	Wed Oct 15 15:19:20 2014 +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, int pulsesPerRev, Encoding encoding = X4_ENCODING);
 
     /**
      * Reset the encoder.
    