ihsm-strain-gage-controller-fw/include/motor.h
2023-06-06 14:24:09 +02:00

16 lines
230 B
C

#ifndef __MOTOR_H__
#define __MOTOR_H__
#include <global.h>
void motor_init(void);
void motor_set_speed(int speed_rpm);
struct motor_state {
int speed_rpm;
};
extern struct motor_state st_motor;
#endif /* __MOTOR_H__ */