forked from acco/chti23
34 lines
748 B
C
34 lines
748 B
C
#include "DriverJeuLaser.h"
|
|
|
|
extern int DFT_ModuleAuCarre(short int* Signal64ech, char k);
|
|
extern int16_t LeSignal;
|
|
|
|
unsigned int test = 0;
|
|
unsigned int test2 = 0;
|
|
|
|
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 once = 1;
|
|
while (1)
|
|
{
|
|
if (once) {
|
|
once = 0;
|
|
//for (int i = 0; i < 64; i++)
|
|
test = DFT_ModuleAuCarre(&LeSignal, 1);
|
|
}
|
|
}
|
|
}
|
|
|