DeskControl/src/lib/motor.h

18 lines
265 B
C

#ifndef __motor
#define __motor
// Low-level functions to control the motor
enum class MotorDirection
{
Up,
Down
};
extern void motorInit();
extern void motorStart(MotorDirection direction);
extern void motorStop();
extern bool motorIsOvercurrent();
#endif