Quadrature encoder interface library.

Fork of QEI by Aaron Berk

Revision:
1:14d6e13e756e
Parent:
0:5c2ad81551aa
--- a/QEI.cpp	Thu Sep 02 16:48:55 2010 +0000
+++ b/QEI.cpp	Mon Oct 30 13:50:51 2017 +0000
@@ -166,9 +166,9 @@
 
 }
 
-void QEI::reset(void) {
+void QEI::reset(int Pulses) {
 
-    pulses_      = 0;
+    pulses_      = Pulses;
     revolutions_ = 0;
 
 }