In reply to nana:
Yes, this is as would do it. Then you have to define your interrupt sequences. If the interrupt happens. You have to stop the current sequence processing and run the interupt sequence. Afterwards you can continue.
In reply to nana:
Yes, this is as would do it. Then you have to define your interrupt sequences. If the interrupt happens. You have to stop the current sequence processing and run the interupt sequence. Afterwards you can continue.