ryan fish / QEI

Dependents:  

Fork of QEI by -deleted-

Revision:
1:865d5b989ec4
Parent:
0:5c2ad81551aa
Child:
2:c10e8ecc2e87
--- a/QEI.cpp	Thu Sep 02 16:48:55 2010 +0000
+++ b/QEI.cpp	Tue Nov 19 20:41:35 2013 +0000
@@ -285,5 +285,6 @@
 void QEI::index(void) {
 
     revolutions_++;
+    pulses_=0;
 
 }