Pulse counter / totalizer usage - PCNT supporting functions
Posted: Tue Aug 29, 2017 7:51 am
Friends,
I would like to use pulse counting on ESP32 in Arduino IDE. Unfortunately, IDF offers a lot of functions for working with counter, I don't know, how to use it in Arduino IDE. Honestly, I'm using Platform IO, but nevermind...
Arduino IDE doesn't know "pcnt" functions, like
pcnt_unit_config(pcnt_config_t *pcnt_config).
Maybe I'm doing something wrong, maybe I don't see any hints...
Could you help me and describe, how to use pulse counter ESP32 hardware in Arduino IDE ?
Thanks,
Ondrej
I would like to use pulse counting on ESP32 in Arduino IDE. Unfortunately, IDF offers a lot of functions for working with counter, I don't know, how to use it in Arduino IDE. Honestly, I'm using Platform IO, but nevermind...
Arduino IDE doesn't know "pcnt" functions, like
pcnt_unit_config(pcnt_config_t *pcnt_config).
Maybe I'm doing something wrong, maybe I don't see any hints...
Could you help me and describe, how to use pulse counter ESP32 hardware in Arduino IDE ?
Thanks,
Ondrej