Page 1 of 1

Interrupt from a variable

Posted: Tue Feb 25, 2014 12:31 am
by Kenrix2
I needed a specialized interrupt to occur whenever a variable was set. The typical method of polling a variable to see if it is set just wasn't working well in my application so I made a custom interrupt to do the job. I defined a Flowcode variable to be the interrupt flag of timer6 and then created a custom interrupt for timer6. Attached is a sample in case anyone else runs across this requirement.