MSPM0_ValvanoWare  1.0
ECE445L starter code
Tachometer.h
Go to the documentation of this file.
1 
34 #ifndef __TACHOMETER_H__
35 #define __TACHOMETER_H__
36 #include <stdint.h>
37 
46 void Tachometer_CheckForStopped(void); // run this every 10ms
47 
55 void Tachometer_Init(void);
56 
66 uint32_t Tachometer_GetRightrpm(void);
67 
77 uint32_t Tachometer_GetLeftrpm(void);
78 
79 #endif
uint32_t Tachometer_GetLeftrpm(void)
Left motor speed.
uint32_t Tachometer_GetRightrpm(void)
Right motor speed.
void Tachometer_Init(void)
Initialize motors.
void Tachometer_CheckForStopped(void)
Check for stopped motors.