Will the function COUNT, continue counting where it left off, after an interrup
![Capt. Quirk](https://forums.parallax.com/uploads/userpics/9JPOS4RYYPQ0/nAZVBWA800QOI.jpg)
I was thinking about JonnyMac's interrupt servo control routine. Since I know almost nothing about interrupts, I was wondering if data collected by COUNT (COUNT RC.0, 1000, rps),·is stored temporarily in "rps" and then restarted at where it left off when the·ISR reverts back to the main program loop?
·
I want to watch engine RPM and control a servo at the same time. Most of the other subs I believe can operate faster than the interrupt calls. But if an interrupt occurs during a SHIFTIN from the ADC, that information would be lost? or not. I wouldn't think missing a couple·SHIFTIN's would matter. But I should·be able to schedule those SHIFTIN's to occur immediately after an ISR return?··
·
I want to watch engine RPM and control a servo at the same time. Most of the other subs I believe can operate faster than the interrupt calls. But if an interrupt occurs during a SHIFTIN from the ADC, that information would be lost? or not. I wouldn't think missing a couple·SHIFTIN's would matter. But I should·be able to schedule those SHIFTIN's to occur immediately after an ISR return?··
Comments