Okay, I got it but if my loop lasts for a very long time there is no alternative to external interrupts, or polling inside the ISR of a timer?
Okay, I got it but if my loop lasts for a very long time there is no alternative to external interrupts, or polling inside the ISR of a timer?