robocon_Bteam / LPC1549QEI
Revision:
3:a9621529946e
Parent:
2:0f8684aeeef3
Child:
4:4092d7f5ca0c
diff -r 0f8684aeeef3 -r a9621529946e QEI.h
--- a/QEI.h	Thu May 09 05:54:05 2019 +0000
+++ b/QEI.h	Thu Jan 16 07:26:10 2020 +0000
@@ -78,7 +78,7 @@
     double getRotation();
     double getRPM();
     double getRPS();
-    //uint32_t getPosition();
+    uint32_t getPosition();
 
     bool getInvertDirection();
     bool getInvertIndex();
@@ -107,7 +107,7 @@
     }
 
 protected:
-    uint32_t getPosition();
+    //uint32_t getPosition();
     uint32_t getVelocity();
     uint32_t getPCLK() { return _qei.PCLK; }