dsf

Dependents:   Ex_3Dprinter_copy

Fork of QEI by Aaron Berk

Revision:
2:3753789f4288
Parent:
1:b9fb662cca1d
--- a/QEI.h	Tue May 08 01:19:07 2018 +0000
+++ b/QEI.h	Tue May 08 01:49:28 2018 +0000
@@ -209,6 +209,8 @@
     int getRevolutions(void);
     
     int getState(void);
+    
+    volatile int pulses_;
 private:
 
     /**
@@ -238,7 +240,7 @@
     int          currState_;
     int          state_; 
     
-    volatile int pulses_;
+
     volatile int revolutions_;
 
 };