Pulse Counter API

gfvalvo
Posts: 34
Joined: Thu Dec 24, 2020 3:06 pm

Pulse Counter API

Postby gfvalvo » 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.

lbernstone
Posts: 669
Joined: Mon Jul 22, 2019 3:20 pm

Re: Pulse Counter API

Postby lbernstone » Sun May 09, 2021 1:16 pm


gfvalvo
Posts: 34
Joined: Thu Dec 24, 2020 3:06 pm

Re: Pulse Counter API

Postby gfvalvo » Sun May 09, 2021 2:49 pm

Thanks.

Who is online

Users browsing this forum: No registered users and 54 guests