From f9aa04dca771b9863250afe0ad225b463a5218ad Mon Sep 17 00:00:00 2001 From: pgp Date: Fri, 16 Jul 2021 09:49:06 +0200 Subject: [PATCH] changemenet GPIO --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 4d22a42..05e1064 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -17,7 +17,7 @@ #define PCNT_TEST_UNIT PCNT_UNIT_0 // Il existe 8 compteurs de 0 à 7 #define PCNT_TEST_CHANNEL PCNT_CHANNEL_0 #define PCNT_INPUT_SIG_IO GPIO_NUM_15 // Pulse Input GPIO -#define PCNT_INPUT_CTRL_IO GPIO_NUM_2 // Control GPIO HIGH=count up, LOW=count down +#define PCNT_INPUT_CTRL_IO GPIO_NUM_16 // Control GPIO HIGH=count up, LOW=count down #define PCNT_H_LIM_VAL 10000 //valeur max du depart_compteur_minuteur #define PCNT_L_LIM_VAL -10 //valeur mini du compteur bool sem_scribe = false; // sémaphore pour le compteur