Interrupts query

Shadow1976

New Member
Hi guys
Is there a way for an interrupt to go to wherever you want in a program and not return to where it came from. I want it to restart program.
 
One way of doing this would be to set a variable in the interrupt handler to say an interrupt has occurred. Check this variable periodically in your main program; if it has been set then jump to wherever you want to go.
 

inglewoodpete

Senior Member
If you just want to reset your PICAXE, you can put the "Reset" command anywhere in your code, including an Interrupt routine.
 
Top