13 lines
356 B
C
13 lines
356 B
C
#ifndef MOTOR_SIMPLE_H
|
|
#define MOTOR_SIMPLE_H
|
|
|
|
#include <stdint.h>
|
|
|
|
void MotorInit(void);
|
|
void MotorStop(void);
|
|
void MotorForward(uint16_t duty, uint32_t times_10ms);
|
|
void MotorBackward(uint16_t duty, uint32_t times_10ms);
|
|
void MotorLeft(uint16_t duty, uint32_t times_10ms);
|
|
void MotorRight(uint16_t duty, uint32_t times_10ms);
|
|
|
|
#endif /* MOTOR_SIMPLE_H */ |