On 28 jul. 2013, at 04:41, "Ing. Pavel Milanes Costa" <[email protected]> 
wrote:

> I want to make a frequency counter for zero to 250 Mhz, with 2 external 
> prescaler, using direct counting for low freq's, med prescaler to about 50 
> Mhz and a dedicated prescaler for above 50 Mhz - 250 Mhz+
> 
> But I have not a clue how to use the timer1 as an asynconous 16 bit pulse 
> counter of the PIC16F88 I have for the project.

Read the data sheet how to increase timer1 externally. Use timer0 as timebase. 
When timer0 has overflown and set TMR0IF, read timer1 and calculate the pulses. 

As a start, print both timers to the LCD or serial port. Check that timer0 runs 
and that timer1 increases. 

Sent from my iPhone

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to