2023-04-04 14:36:29 +02:00
|
|
|
#ifndef MYMOTOR_H
|
|
|
|
#define MYMOTOR_H
|
|
|
|
#include "stm32f10x.h"
|
|
|
|
|
|
|
|
#define HORAIRE 0x1
|
|
|
|
#define ANTIHOR 0x0
|
|
|
|
|
2023-04-07 13:53:08 +02:00
|
|
|
void MyMotor_Init(void);
|
2023-04-04 14:36:29 +02:00
|
|
|
void MyMotor_ChangeSpeed(unsigned int DC);
|
|
|
|
void MyMotor_ChangeDirection(uint8_t Sens);
|
|
|
|
|
|
|
|
#endif
|