Xiaohai Li / Mbed 2 deprecated RPi_MOT_HAT

Dependencies:   mbed

Revision:
1:a6bcf44b90df
Parent:
0:633cef71e6ba
Child:
3:171f4d0ca77b
--- a/PeripheralLayer/MotHatLib.h	Sun Aug 09 09:37:55 2015 +0000
+++ b/PeripheralLayer/MotHatLib.h	Tue Aug 18 01:44:45 2015 +0000
@@ -48,6 +48,15 @@
 extern void Mot_PwmWrite(int channel, float duty);
 extern void Mot_SetDirection(int channel, char dir);
 
+//Motor velocimetoer functions 
+void Mot_StartVelocimeter(void);
+void Mot_StopVelocimeter(void);
+int Mot_GetSpeed(int channel);
+void Mot_SpdPluseIntHandler1(void);
+void Mot_SpdPluseIntHandler2(void);
+void Mot_SpdPluseIntHandler3(void);
+void Mot_SpdPluseIntHandler4(void);
+
 //Servo functions
 extern void Servo_Init(void);
 extern void Servo_SetAngle(int channel, float angle);