12 lines
238 B
C
12 lines
238 B
C
|
|
#define PinSens LL_GPIO_PIN_2
|
|
#define PinPWM LL_GPIO_PIN_1
|
|
#define GPIOPins GPIOA
|
|
#define TimerPWM TIM2
|
|
#define channelPWM LL_TIM_CHANNEL_CH2
|
|
|
|
void Moteur_Conf(void);
|
|
|
|
void Moteur_Speed(int speedPercentage);
|
|
|
|
void Moteur_Sens(int sens);
|