Depending on the range of frequencies you want to measure, this one Frequency Counter Library - #36 by dc42 - Science and Measurement - Arduino Forum that I use may do the job.
Depending on the range of frequencies you want to measure, this one Frequency Counter Library - #36 by dc42 - Science and Measurement - Arduino Forum that I use may do the job.