forked from acco/chti23
33 lines
712 B
C
33 lines
712 B
C
|
|
|
|
#include "DriverJeuLaser.h"
|
|
#include <stdio.h>
|
|
|
|
extern int DFT_ModuleAuCarre(short int* Signal64ech, char k);
|
|
extern short int LeSignal[];
|
|
int result;
|
|
int main(void)
|
|
{
|
|
|
|
// ===========================================================================
|
|
// ============= INIT PERIPH (faites qu'une seule fois) =====================
|
|
// ===========================================================================
|
|
|
|
|
|
int result = DFT_ModuleAuCarre(&(LeSignal[0]),1);
|
|
|
|
//printf("le résultat : %d \n", result);
|
|
|
|
// Après exécution : le coeur CPU est clocké à 72MHz ainsi que tous les timers
|
|
CLOCK_Configure();
|
|
|
|
|
|
|
|
//============================================================================
|
|
|
|
|
|
while (1)
|
|
{
|
|
}
|
|
}
|
|
|