forked from acco/chti23
36 lines
700 B
C
36 lines
700 B
C
|
|
#include "DriverJeuLaser.h"
|
|
|
|
|
|
extern short int LeSignal[];
|
|
extern int DFT_ModuleAuCarre( short int * Signal64ech, char k);
|
|
|
|
int moduleSignal[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 j=0; j<64 ; j++) {
|
|
moduleSignal[j] = DFT_ModuleAuCarre(&(LeSignal[0]), j);
|
|
}
|
|
|
|
|
|
while (1)
|
|
{
|
|
}
|
|
}
|
|
|