hi
the original code (frequcounter.h) was created by
Martin Nawrath KHM LAB3 - Kunsthochschule für Medien Köln
Academy of Media Arts
http://www.khm.de // http://interface.khm.de/index.php/labor/experimente/
All i try to do here is to explain how the code works.
This is considered to be documentation only.
The format is not fitting into the code tags, so i have attached a PDF.
My sample code will automatically adjust to Hz/KHz/MHz.
Have fun.
FreqCounter.h - Analysis.pdf (448 KB)