TrekkingPhoenix / Mbed 2 deprecated TrekkingControllerV1-4_WinterChallenge20

Dependencies:   mbed mbed-rtos MotionSensor EthernetInterface

Revision:
20:7138ab2f93f7
Parent:
12:273752f540be
Child:
22:b7cca3089dfe
--- a/Motor/Motor.h	Sun May 15 19:14:06 2016 +0000
+++ b/Motor/Motor.h	Sat Jul 16 19:17:08 2016 +0000
@@ -18,9 +18,10 @@
     
     void startJogging(float jog_dc, float jog_p);
     void stopJogging(void);
-    void brakeMotor(void);
+    void brakeMotor(float brake_intensity, float brake_wait);
     void reverseMotor(int speed);
     void setVelocity(int new_velocity);
+    float getVelocity();
     void setSmoothVelocity(int new_velocity);
     Motor(): motor(PTD1){}