Thanks for yours answer.
My default PIC is pic16f88.
Maybe i change with pic18f1330 which have timer0 16bit.
Hi, Savnik
Also could eventually be useful :
the PIC freq.
The Porta.4 max input freq. to be measured
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
From datasheet:
---------------------------
The Timer0 module timer/counter has the following
features:
• 8-bit timer/counter
• Readable and writable
• 8-bit software programmable prescaler
• Internal or external clock select
• Interrupt-on-overflow from FFh to 00h
• Edge select for external clock
Hi, Savnik
Sayzer was only telling there's a 16 Bits timer in 16F88 : Timer 1 ...
but, if you want to use RA.4 and keep the same pinout ( must we understand PC board is already made ??? ) ... you'll have to turn to 18F1320 !
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Or you could just count the Overflows from timer0 and make it a 16-bit or larger counter.
DT
Bookmarks