chti23/soft/PjtKEIL_StepDFT/Src/principal.c

33 lines
681 B
C

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