Arduino - Blink multiple LED

This tutorial teaches you how to program an Arduino to make multiple LEDs blink simultaneously without using the delay function. The tutorial provides code in two ways:

We will use three LEDs as examples. You can easily modify it to adapt for two LEDs, four LEDs, or even more.

Hardware Required

1×Arduino UNO or Genuino UNO
1×USB 2.0 cable type A/B
1×LED
1×220 ohm resistor
1×Breadboard
1×Jumper Wires
1×(Optional) 9V Power Adapter for Arduino
1×(Recommended) Screw Terminal Block Shield for Arduino Uno
1×(Optional) Transparent Acrylic Enclosure For Arduino Uno

Or you can buy the following sensor kits:

1×DIYables Sensor Kit (30 sensors/displays)
1×DIYables Sensor Kit (18 sensors/displays)
Please note: These are Amazon affiliate links. If you buy the components through these links, We will get a commission at no extra cost to you. We appreciate it.

About LED

We have a detailed LED tutorial including hardware pinout, working principle, Arduino wiring, and code instructions. Learn more here:

Wiring Diagram

Arduino multiple LED Wiring Diagram

This image is created using Fritzing. Click to enlarge image

Video Tutorial

We are considering to make the video tutorials. If you think the video tutorials are essential, please subscribe to our YouTube channel to give us motivation for making the videos.

The Best Arduino Starter Kit

※ OUR MESSAGES