#include "DriverJeuLaser.h" #include extern int DFT_ModuleAuCarre( short int * Signal64ech, char k); extern short int LeSignal; //Fonctions pour timer systick extern void Systick_Period_ff( unsigned int Periode_ticks ); extern void Systick_Prio_IT( char Prio, void (*Systick_function)(void)); void callback_Systick(){ } 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(); //Systick Systick_Period_ff(360000); // correspond à 5ms Systick_Prio_IT(2,callback_Systick); SysTick_On; SysTick_Enable_IT; //============================================================================ int res[64]; for(int k = 1; k <= 64; k++) { res[k-1] = DFT_ModuleAuCarre(&LeSignal,k); } while (1) { } }