Using Interrupts to exit “for” loop

Using Interrupts to exit “for” loop:

#arduino