13 lines
355 B
C
13 lines
355 B
C
#ifndef MOTOR_H
|
|
#define MOTOR_H
|
|
|
|
#include <stdint.h>
|
|
|
|
void MotorInit(void);
|
|
void MotorStop(void);
|
|
void MotorForward(uint16_t left_duty, uint16_t right_duty);
|
|
void MotorBackward(uint16_t left_duty, uint16_t right_duty);
|
|
void MotorLeft(uint16_t left_duty, uint16_t right_duty);
|
|
void MotorRight(uint16_t left_duty, uint16_t right_duty);
|
|
|
|
#endif /* MOTOR_H */ |