Update 'soft/PjtKEIL_StepSon/Src/principal.c'
Questo commit è contenuto in:
parent
6cd3286a18
commit
330865c11b
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
|
@ -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();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Caricamento…
Crea riferimento in una nuova segnalazione