Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: PeripheralLayer/MotHatLib.h
- 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);