Update 'soft/PjtKEIL_StepSon/Src/principal.c'

This commit is contained in:
Oussama Hannouch 2023-04-10 23:59:33 +02:00
parent 6cd3286a18
commit 330865c11b

View file

@ -20,8 +20,10 @@ int main(void)
CLOCK_Configure(); CLOCK_Configure();
Timer_1234_Init_ff(TIM4, 65520000); Timer_1234_Init_ff(TIM4, 65520000);
Active_IT_Debordement_Timer(TIM4, 2, CallbackSon); Active_IT_Debordement_Timer(TIM4, 2, GestionSon);
Run_Timer(TIM4); GPIO_Configure(GPIOB, 0, OUTPUT, ALT_PPULL);
PWM_Init_ff(TIM3, 3, PERIODE_PWM);
StartSon();