be_chti/PjtKEIL_StepDFT/Src/principal.c
2021-08-22 13:23:14 +02:00

37 lines
760 B
C
Executable file

#include "DriverJeuLaser.h"
int DFT_ModuleAuCarre( short int * Signal64ech, 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();
//============================================================================
/// Test
int dft[63];
int v = 0;
for (int i = 0; i < 63; ++i){
v = DFT_ModuleAuCarre(&LeSignal, i);
dft[i] = v;
//printf("%d\n", dft[i]);
}
while (1)
{
}
}