Stm32Project/Inc/motor.h

7 lines
148 B
C
Raw Permalink Normal View History

#define MOTORCCR(speed) (20000*(speed)/20)
extern uint8_t Motor_Speed;
extern int Motor_time,Motor_tag,Motor_start;
void Motor_reset_ornot(void);