chti23/soft/PjtKEIL_StepDFT/Src/principal.c
2023-05-09 18:09:45 +02:00

35 lines
672 B
C

#include "DriverJeuLaser.h"
extern int DFT_ModuleAuCarre( short int * Signal64ech, char k);
extern short int* LeSignal;
int X[63];
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();
//============================================================================
while (1)
{
for (int k=0; k<64; k++){
X[k]=DFT_ModuleAuCarre(LeSignal,k);
}
}
}