Grammaire

This commit is contained in:
Aleksander Taban 2025-12-16 12:02:47 +01:00
parent 1c3cbc1953
commit 01f88c8163
No known key found for this signature in database

View file

@ -15,15 +15,15 @@ void initServo(TIM_TypeDef * Timer, int Channel) { // Config du moteur servo
Timer_Init(TIM4, 0xFFFF, 22); // Pour obtenir un période de 20 ms Timer_Init(TIM4, 0xFFFF, 22); // Pour obtenir un période de 20 ms
if (Channel == 3){ if (Channel == 3){
MyGPIO_Init(GPIOB, 8, AltOut_Ppull); // Outut push pull alternate MyGPIO_Init(GPIOB, 8, AltOut_Ppull); // Output push pull alternate
MyTimer_PWM(TIM4, 3); //TIM4 CH3 pour PB8 MyTimer_PWM(TIM4, 3); // TIM4 CH3 pour PB8
} }
else{ else{
//printf("Cet pilôte n'existe pas"); //printf("Ce pilote n'existe pas");
} }
} }
else{ else{
//printf("Cet pilôte n'existe pas"); //printf("Ce pilote n'existe pas");
} }
} }