Problems with using PCNT.
Posted: Sun Jun 15, 2025 10:14 pm
Hello.
I am trying to make use of the PCNT module, in my code I have two libraries that each use PCNT, they work just fine when I test them separated but once put into the same sketch one of the libraries stop working.
Is there any known issues with using driver/pulse_cnt.h?
FYI, I am using an esp32-s3 and all in all my sketch is trying to utilize 3 of 4 pcnt units.
The first library is a publicly available library called RotaryEncoderPCNT
Regards
I am trying to make use of the PCNT module, in my code I have two libraries that each use PCNT, they work just fine when I test them separated but once put into the same sketch one of the libraries stop working.
Is there any known issues with using driver/pulse_cnt.h?
FYI, I am using an esp32-s3 and all in all my sketch is trying to utilize 3 of 4 pcnt units.
The first library is a publicly available library called RotaryEncoderPCNT
Regards