I would like to start a timer and then trigger events as the time increases. The timer would need to run in the background as the program executes the events. I have read and read and read and I can't figure out how to do this. Could someone give he a hint?
I also have an application that requires me to count pulses and calculate speed while executing a program doing other things. I can pause my program to make the speed calculation but I don't want to pause it to count pulses. My gut feeling is that this is a very similar to the first question. If I can set up the timer and/or counter running in the back ground, I should be able to use the timer value to trigger interrupts. Upon the interrupt I can read the pulse count and figure a speed.
My question boils down to having the timer/counter running in the background. The microcontroller is a PIC18F4525.
help!!
donnie
Bookmarks