Reading signal frequency

comsat:
I looked the code again and there is no mention about pin 8 as an input.

The input pin is hard-coded into the library, and is listed in the web page you linked. It says for Arduino you have to use pin 8.