From 1d39dbec8b47768a677f0ea515742a33a50580a3 Mon Sep 17 00:00:00 2001 From: Oussama Hannouch Date: Tue, 11 Apr 2023 00:09:33 +0200 Subject: [PATCH] Update 'soft/PjtKEIL_StepDFT/Src/principal.c' --- soft/PjtKEIL_StepDFT/Src/principal.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/soft/PjtKEIL_StepDFT/Src/principal.c b/soft/PjtKEIL_StepDFT/Src/principal.c index d09be75..c2c6be6 100644 --- a/soft/PjtKEIL_StepDFT/Src/principal.c +++ b/soft/PjtKEIL_StepDFT/Src/principal.c @@ -1,17 +1,18 @@ - #include "DriverJeuLaser.h" +#include "module_carre.h" +extern short LeSignal; int main(void) -{ +{ int real_number_test = 0; // =========================================================================== // ============= 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(); @@ -20,7 +21,10 @@ CLOCK_Configure(); //============================================================================ - +for (int k= 0; k < 64; ++k) { + real_number_test = DFT_ModuleAuCarre(&LeSignal, k); +} + while (1) { }