Re: Help whit tmr1 on pic16f877a
+1 !
let's add ..
Code:
if TMR1H=0 & TMR1L=0 then
is automatically ( in this case ! ) "marked" by INTCON.2 flag ...
because of an interrupt generation.
but you have a very very very very ... high probability the "if TMR1H=0 & TMR1L=0" test result to be always false ... 
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 " !!!
*****************************************
Bookmarks