Hi,
Hardw.solution : Just use the external TMR1 clock with a 32,768 Hz Xtal ... easily gives 1 count per ms !!!
SoftW.Solution : increment a variable for each overflow ( interrupts using or polling the overflow bit TMR1IF )
Also See Darrel's posts about instant interrupts ... The Hardw solution is described here !!!
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