Quote Originally Posted by savnik View Post
No.
I use TMR0 as counter to measure the input frequency at RA4 for 256ms.
The frequency is between 0.3mhz and 8mhz.
My problem is how many times the TMR0 overflow.
I use pic16f88 and 4 mhz xtal. (I don't to change these)
Here is a link to an example Mister_e posted on ME Labs site.
http://www.melabs.com/resources/samp...ed/counter.zip

Personally, I do not understand how a PIC can count faster than it's own oscillator is running 4mhz vs 8mhz, I think you will have to up the Frequency to 20, but I may be wrong too. I thought it took 4 cycles per instruction, likely that's wrong too.