CHti23/BE-chti C/soft/DFT_Signal_Reel/Src/principal.c
2023-05-16 00:44:57 +02:00

36 rivejä
No EOL
674 B
C

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