Pulse Counter API
Posted: Sun May 09, 2021 1:11 pm
Hi All.
So, I found the function prototypes for the Pulse Counter API in ''pcnt.h". But that file is buried way down in "…\packages\esp32\hardware\esp32\1.0.4\tools\sdk\include\driver\driver". It does not appear to be automatically included by the Arduino IDE. Also, I could find no other .h file that # include(s) ''pcnt.h". So, does that mean I need to explicitly include it using the full path name?
Thanks.
So, I found the function prototypes for the Pulse Counter API in ''pcnt.h". But that file is buried way down in "…\packages\esp32\hardware\esp32\1.0.4\tools\sdk\include\driver\driver". It does not appear to be automatically included by the Arduino IDE. Also, I could find no other .h file that # include(s) ''pcnt.h". So, does that mean I need to explicitly include it using the full path name?
Thanks.