Hey everyone, i'm new to ardunio
so, im doing this mini project:
I have set of sequences for my leds. 1 to 2, 2 to 3, 3 to 1 and vice versa so total six set of sequences. I know how to code for led blink. that's fine.
my question is [u]during led sequence say from 1 to 2, if i give an interrupt, i want the sequence to run backwards[/u].
(example- say sequence for led blinking is abcdef and at any point if i give an interrupt, example d the next sequence has to be cba. )
thanks in advance :)