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