From 75fb4dbb1d778f6f97a18d842f7a92b2d257dbd0 Mon Sep 17 00:00:00 2001 From: MaelleCros Date: Tue, 16 May 2023 18:12:09 +0200 Subject: [PATCH] rajoute des commentaires --- PjtKEIL_Step_Integration/Src/principal.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PjtKEIL_Step_Integration/Src/principal.c b/PjtKEIL_Step_Integration/Src/principal.c index 9e20e98..50b2b38 100644 --- a/PjtKEIL_Step_Integration/Src/principal.c +++ b/PjtKEIL_Step_Integration/Src/principal.c @@ -70,6 +70,7 @@ void callback() { } } else {cnt[3]=0;} + // Pour ne changer de cible que toutes les 2 sec (2000/5 = 400) if (clk5Hz %400 ==0) { i = (i+1)%15; if (i == 0){ @@ -115,8 +116,6 @@ Init_ADC1_DMA1( 0, dma_buf ); Init_Affichage(); -//TODO : englober dans fct qui fait changer la cible active régulièrement (mais wait nécessaire) - Choix_Capteur(1); Prepare_Set_LED(LED_Cible_1);