Open mkeyno opened 2 years ago
Hi Mkeyno, Look for these links with detailed instructions.
Best Frequency Meter ever made with ESP32 - awesome! https://www.esp32.com/viewtopic.php?f=19&t=17018
ESP32 – Frequencímetro de precisão https://blog.eletrogate.com/esp32-frequencimetro-de-precisao/
Hi, I've been trying to read the frequency with PCNT lib using your code sample, I've tried to make a class for each channel, I use the signal generator on ESP32 pin, and enable Maximum counter value event and register an interrupt, however, when an interrupt happens and try to read the counter number, it always returns zero whereas when I trying to read the counter number in the loop, it returns the number any tip really appreciated