DragonBall,
You have now asked the same question in atleast three different threads and you are not reading the responses you are getting.
You can not use two ON INTERRUPT statements. You have to, in one SINGLE ISR, determine what caused the interrupt by looking at the different interrupt flags, located in INTCON, PIR1 and PIR2 (For16F87x). If you have TMR0 and TMR1 running and interrupts enabled for both, when the interrupt fires you look at the T0IF and TMR1IF flags to determine which one caused the interrupt.
I think you are making this more comlicated than it needs to be, IMO you only need one timer interrupt. Look for a suggestion in one of the other threads where you asked this question.
/Henrik Olsson.
Bookmarks