Frequency Counter Code Error

rod411964:
Hi all, looking for help with a code error. (I can handle the electronics but code is not my strong point).

I have copied manually the Frequency Counter source code from the book "Arduino Projects for Amateur Radio" and when I do a verify I get the following error;

"FreqCounter" has not been declared.

I have attached my source code and wonder if anyone can give me some guidance please.

Cheers, Rod.
VK7EH

Hi, what is your meter's working range?

I was able to read about 500khz using the timer1 and interrupt: External input for the timer1 to generate an interrupt when the counter reaches the maximum · Issue #38 · PaulStoffregen/TimerOne · GitHub