ryan fish / QEI

Dependents:  

Fork of QEI by -deleted-

Revision:
2:c10e8ecc2e87
Parent:
0:5c2ad81551aa
--- a/QEI.h	Tue Nov 19 20:41:35 2013 +0000
+++ b/QEI.h	Tue Nov 26 04:31:41 2013 +0000
@@ -200,6 +200,13 @@
      * @return Number of pulses which have occured.
      */
     int getPulses(void);
+    
+    /**
+    * Read the angle of the encoder in radians
+    *
+    * @return Angle in radians
+    */
+    float getAngle(void);
 
     /**
      * Read the number of revolutions recorded by the encoder on the index channel.