Hi,
INTCON
bit 2 T0IF: TMR0 Overflow Interrupt Flag bit(2)
1 = TMR0 register has overflowed (must be
cleared in software)
0 = TMR0 register did not overflow
Everything works as written ... program loops in interrupt ( I make it short ... lol ) after a first "regular" TMR0 interrupt !!!
may be should CLEAR the TMR0 Flag ... instead of setting it ... ???
Just an idea
Alain
Last edited by Acetronics2; - 21st November 2008 at 16:23.
************************************************** ***********************
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