38 lines
645 B
C
38 lines
645 B
C
|
|
#include <stdio.h>
|
|
#include "DriverJeuLaser.h"
|
|
|
|
extern short int LeSignal;
|
|
|
|
extern int DFT_ModuleAuCarre(int k, short int * Signal64ech);
|
|
|
|
|
|
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();
|
|
|
|
|
|
|
|
|
|
|
|
//============================================================================
|
|
|
|
|
|
DFT_ModuleAuCarre(0, &LeSignal);
|
|
|
|
|
|
|
|
|
|
while (1)
|
|
{
|
|
}
|
|
|
|
}
|
|
|