Use code tags, not quote tags, when posting code.
Nowhere does your code read pin 5.
Where did you find the library "FreqCounter" and what is it supposed to do?
Use code tags, not quote tags, when posting code.
Nowhere does your code read pin 5.
Where did you find the library "FreqCounter" and what is it supposed to do?