Mettre à jour 'BE-chti C/soft/PjtKEIL_StepDFT/Src/principal.c'
This commit is contained in:
parent
73ca68e69d
commit
f1579afe11
1 changed files with 11 additions and 3 deletions
|
@ -2,27 +2,35 @@
|
|||
|
||||
#include "DriverJeuLaser.h"
|
||||
|
||||
extern short LeSignal;
|
||||
extern int DFT_ModuleAuCarre(short int *Signal64ech, char k);
|
||||
|
||||
int S[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
|
||||
// Après exécution : le coeur CPU est clocké à 72MHz ainsi que tous les timers
|
||||
CLOCK_Configure();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
for (int k= 0; k < 64; ++k) {
|
||||
S[k] = DFT_ModuleAuCarre(&LeSignal, k);
|
||||
}
|
||||
//============================================================================
|
||||
|
||||
|
||||
|
||||
while (1)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
Reference in a new issue