Fork van Victor Sluiters library. Output van speed is nu een double i.p.v. float.
Fork of Encoder by
Revision 2:c27f6d0ec1ae, committed 2014-06-20
- Comitter:
- Socrates
- Date:
- Fri Jun 20 11:53:32 2014 +0000
- Parent:
- 1:2dd7853c911a
- Commit message:
- Encoder lichtjes aangepast. MVD doet niet echt leuk: poging MVD te scheiden van normale pad werken niet zo best.
Changed in this revision
encoder.h | Show annotated file Show diff for this revision Revisions of this file |
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);