Motor is operated by keyboard commands, encoder reads out position but not yet speed

Dependencies:   HIDScope

Dependents:   Project_motor Project_motor Motor_poscontrol Conceptcontroller_v_1_0

Fork of Encoder by Biorobotics Project

Revision:
5:04c4a90c7a0a
Parent:
4:69be34f39c9f
Child:
6:18b000b443af
--- a/encoder.h	Mon Sep 29 15:51:28 2014 +0000
+++ b/encoder.h	Mon Sep 29 20:43:45 2014 +0000
@@ -47,7 +47,7 @@
     void encoderRising(void);
     bool m_speed_enabled;
     Timer EncoderTimer;
-    //Timeout EncoderTimeout;
+    Timeout EncoderTimeout;
     InterruptIn pin_a;
     DigitalIn pin_b;
     int32_t m_position;