Is it possible to have the PIC working on one operation due to an input from a toggle switch, then have another toggle switch input immediately interupt the first operation and perform a second operation, taking precedence over any other operation? I would need both operations to work independently of one another.
Example:
Switch1 on porta.0 = 0 then operation 1
Switch2 on porta.1 = 0 then stops operation 1 before it finishes and over rides with operation 2
Maybe I'll have to use another PIC in the circuit to stop the first PIC?
Bookmarks