![I'm learning arduino and I wanted to light the led's sequentially from left to right and only one was lit at a time, so led1 was on, 2 and 3 was off, then click button, led 2 was on, 1 and 3 off and so on. I got the first if statement working, but I'm learning arduino and I wanted to light the led's sequentially from left to right and only one was lit at a time, so led1 was on, 2 and 3 was off, then click button, led 2 was on, 1 and 3 off and so on. I got the first if statement working, but](https://preview.redd.it/im-learning-arduino-and-i-wanted-to-light-the-leds-v0-2cf6hmq4cw1a1.png?auto=webp&s=98184da07093bd1b19ec3c9a6b1074a793fa7ee3)
I'm learning arduino and I wanted to light the led's sequentially from left to right and only one was lit at a time, so led1 was on, 2 and 3 was off, then click button, led 2 was on, 1 and 3 off and so on. I got the first if statement working, but
![Tinkercad | How to blink LED with out delay () 💯| LED blink without delay Arduino | Millis() - YouTube Tinkercad | How to blink LED with out delay () 💯| LED blink without delay Arduino | Millis() - YouTube](https://i.ytimg.com/vi/74GeRdaSbsA/hqdefault.jpg)
Tinkercad | How to blink LED with out delay () 💯| LED blink without delay Arduino | Millis() - YouTube
![arduino uno - How do I turn on 3 LEDs in a repetitive sequence where all three LEDs would then turn OFF when the push button used is released? - Arduino Stack Exchange arduino uno - How do I turn on 3 LEDs in a repetitive sequence where all three LEDs would then turn OFF when the push button used is released? - Arduino Stack Exchange](https://i.stack.imgur.com/jWU2r.png)