|
#ifndef TACHOMETER_H
|
|
#define TACHOMETER_H
|
|
|
|
#include <stdint.h>
|
|
|
|
// Specifies the direction of the motor rotation, relative to the front of the robot
|
|
typedef enum TachDirection {
|
|
Reverse = -1,
|
|
Stopped,
|
|
Forward,
|
|
} TachDirection_t;
|
|
|
|
void TachometerInit(void);
|
|
|
|
#endif /* TACHOMETER_H */
|