Update 'soft/PjtKEIL_StepSon/Src/principal.c'
This commit is contained in:
parent
6cd3286a18
commit
330865c11b
1 changed files with 4 additions and 2 deletions
|
@ -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();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue