dsf

Dependents:   Ex_3Dprinter_copy

Fork of QEI by Aaron Berk

Files at this revision

API Documentation at this revision

Comitter:
brainliang
Date:
Tue May 08 01:49:28 2018 +0000
Parent:
1:b9fb662cca1d
Commit message:
sdf

Changed in this revision

QEI.h Show annotated file Show diff for this revision Revisions of this file
diff -r b9fb662cca1d -r 3753789f4288 QEI.h
--- 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_;
 
 };