7
votes
7answers
5k views

Measuring 0 - 1MHz ( 0.25Hz resolution) Squarewave using an MCU

I need to measure the frequency of square-wave that can vary between 0 and 1MHz, and has a resolution of 0.25Hz. I havent decided on which controller yet but It will most likely be one of the 20pin ...