Hi all,
I have an application where I have a 3 position toggle switch to select a mode. I am using a 28X2 and the hardware input interrupt. I have the interrupts working correctly to detect what position the toggle switch is in. The purpose of using an interrupt for this is to jump straight to a different part of the program if the switch position changes.
Can I use a goto in my interrupt routine? Or do I always have to finish with a return. I have tried the goto which works but then the interrupt never triggers again. It it possible what I am trying to do?
Thanks,
Glenn
I have an application where I have a 3 position toggle switch to select a mode. I am using a 28X2 and the hardware input interrupt. I have the interrupts working correctly to detect what position the toggle switch is in. The purpose of using an interrupt for this is to jump straight to a different part of the program if the switch position changes.
Can I use a goto in my interrupt routine? Or do I always have to finish with a return. I have tried the goto which works but then the interrupt never triggers again. It it possible what I am trying to do?
Thanks,
Glenn