Frequency counter library for AVR and the ATMega32U4 (and similar) processor using Timer 0. Traditional counter for higher frequency signals with various gate times or a period counter converted to frequency for lower frequency signals. Works from sub Hertz frequencies to about 8MHz. Moves the system timer to Timer 1 or 3.
See Rick-G1/FrequencyCounter