forked from acco/chti23
35 lines
672 B
C
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);
|
|
}
|
|
}
|
|
}
|
|
|