Interrupt from a variable
-
- Flowcode v5 User
- Posts: 211
- Joined: Tue Feb 19, 2013 9:51 pm
- Has thanked: 72 times
- Been thanked: 177 times
- Contact:
Interrupt from a variable
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.
- Attachments
-
- interrupt_on_a_variable.fcfx
- (5.13 KiB) Downloaded 482 times