Adding: #include "soc/pcnt_struct.h" fixed my issue.Mario Eric wrote: ↑Mon May 23, 2022 2:09 amHi, sorry, I have a problem with the structure:
PCNT.int_clr.val = BIT(PCNT_COUNT_UNIT);
I get an alert: 'PCNT' was not declared in this scope
Could you help me to solve it?
Kilo