#include #include "DriverJeuLaser.h" extern int DFT_ModuleAuCaree(short int * signal , char k ); extern short int LeSignal; 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(); int Res_DFT[32]; char K1 = 17; // K2 (90) = 18 // K3 (95) = 19 // K4 (100) = 20 // K5 (115) = 23 // K6 (120) = 24 //============================================================================ for (int k = 0; k<32;k++){ Res_DFT[k] = DFT_ModuleAuCaree(&LeSignal,1); } while (1) { } }