Hello ,every body's !
I have two led connected on pin 2 and pin 3
Led 2 is onceCy_2
Led 3 is onceCy_3
I use the switch case function to select , which my cycle led sequence must done.
When i select position 1
My led 3 must blink one time ,and my led 2 blink continuously .
when I select position 0 , nothing blink .
My problem is :
The led 3 blink one time ,after this is the led 2 which blink .
But the cycle come back and my led 3 blink a second time and the led 2 after .
Like how a loop must work .
I tested different type of exit
like while (1) {}, but my led 2 won't work ,
I tested too a for loop
(int i = 0,i == 1 ,i++)
{
// led 3
i++
}
// led 2
To explain my request
These two led simulate , a display initialisation for the led 3 and the sequence of the page for the led 2 .
This is why I need one once blink for the led 3.
Even it's not done , my loaded page work ,but blinking continuously ,due to the always loop cycle and the alway initialisation .
I need this innitialisation between all page or previous page sur impressed on the new .
Thanks for any help
v1.0.0.ino (550 Bytes)