I want to measure a frequency 1Mc.
I can get it to work but I get a reading 1,065535 Mc, 65.5365Kc too high.
After a lot of reading I found timer 1's overflow trigger doesnt occur at 0 its at FFFF, hence my reading.
Is there any way I can get the overflow to interrupt on 0, I tried setting Ocr1 to 0 but that doesnt work.
I can get it to work but I get a reading 1,065535 Mc, 65.5365Kc too high.
After a lot of reading I found timer 1's overflow trigger doesnt occur at 0 its at FFFF, hence my reading.
Is there any way I can get the overflow to interrupt on 0, I tried setting Ocr1 to 0 but that doesnt work.