I am using a PIC18F887 with the internal oscilator set @ 8MHz. I have a subroutine I need to fire off at a routine basis (nominally every 22ms although I want it a constant that I can tune). Can someone give me a crash course (with as much details so I don't have to ask a bunch of follow on dummy questions) on how I set this up as some sort of timer on an interupt, preferably without using assembly, but if that is the only way, I am willing to try. I have no available IO pins remaining if that matters. I am using no other interupts, but future versions may entail a serial interupt. I only want it to fire after a complete line is executed, which I think is by default, then return to the next line after it runs the routine. I suspect its fairly easy, but I am not sure where to start.
Thanks,
Charlie
Bookmarks