Compare commits
No commits in common. "8fe96167f603f47567189575ca257a994862f3d6" and "1c3cbc1953a6f44b690c5617c641b74aef3a7ea0" have entirely different histories.
8fe96167f6
...
1c3cbc1953
3 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
if (Channel == 3){
|
||||
MyGPIO_Init(GPIOB, 8, AltOut_Ppull); // Output push pull alternate
|
||||
MyGPIO_Init(GPIOB, 8, AltOut_Ppull); // Outut push pull alternate
|
||||
MyTimer_PWM(TIM4, 3); //TIM4 CH3 pour PB8
|
||||
}
|
||||
else{
|
||||
//printf("Ce pilote n'existe pas");
|
||||
//printf("Cet pilôte n'existe pas");
|
||||
}
|
||||
}
|
||||
else{
|
||||
//printf("Ce pilote n'existe pas");
|
||||
//printf("Cet pilôte n'existe pas");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue