Fork van Victor Sluiters library. Output van speed is nu een double i.p.v. float.

Fork of Encoder by First Last

Revision:
2:c27f6d0ec1ae
Parent:
1:2dd7853c911a
diff -r 2dd7853c911a -r c27f6d0ec1ae encoder.h
--- a/encoder.h	Tue Oct 01 21:47:15 2013 +0000
+++ b/encoder.h	Fri Jun 20 11:53:32 2014 +0000
@@ -38,7 +38,7 @@
     /** Request speed
     @returns current speed
     */
-    float   getSpeed(){return m_speed;}
+    double   getSpeed(){return m_speed;}
     private:
     void encoderFalling(void);
     void encoderRising(void);