Hi from a newbie (tombro73),
Help, I want to run a program using TMR0 to decrement a counter down to zero each half second. The value in the counter is entered via INT RB1 and then I want the program to restart. I want to get back to INIT so retfie is no good since it does not go to INIT. A circular buffer would work I think but replies I get say don't do this. I don,t want to do software polling so any suggestions would be appreciated.
Many Thanks
Tom
Help, I want to run a program using TMR0 to decrement a counter down to zero each half second. The value in the counter is entered via INT RB1 and then I want the program to restart. I want to get back to INIT so retfie is no good since it does not go to INIT. A circular buffer would work I think but replies I get say don't do this. I don,t want to do software polling so any suggestions would be appreciated.
Many Thanks
Tom