grpC_Oussama_Boyu/soft/PjtKEIL_StepSon/Src/principal.c

35 lines
658 B
C

#include "DriverJeuLaser.h"
#include "GestionSon.h"
extern short Sortie_son;
int main(void)
{
// ===========================================================================
// ============= INIT PERIPH (faites qu'une seule fois) =====================
// ===========================================================================
// Après exécution : le coeur CPU est clocké à 72MHz ainsi que tous les timers
CLOCK_Configure();
Timer_1234_Init_ff(TIM4, 65520000);
Active_IT_Debordement_Timer(TIM4, 2, CallbackSon);
Run_Timer(TIM4);
//============================================================================
while (1)
{
}
}