changemenet GPIO
This commit is contained in:
parent
657a6b1eb0
commit
f9aa04dca7
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue