Premium Only Content

How do you make an LED light blink with Arduino?
LEDs are small, powerful lights that are used in many different applications. To start, we will work on blinking an LED, the Hello World of microcontrollers. It is as simple as turning a light on and off. Establishing this important baseline will give you a solid foundation as we work towards experiments that are more complex.
Components Required
You will need the following components −
1 × Breadboard
1 × Arduino Uno R3
1 × LED
1 × 330Ω Resistor
2 × Jumper
Sketch
Open the Arduino IDE software on your computer. Coding in the Arduino language will control your circuit. Open the new sketch File by clicking New.
Code to Note
pinMode(2, OUTPUT) − Before you can use one of Arduino’s pins, you need to tell Arduino Uno R3 whether it is an INPUT or OUTPUT. We use a built-in “function” called pinMode() to do this.
digitalWrite(2, HIGH) − When you are using a pin as an OUTPUT, you can command it to be HIGH (output 5 volts), or LOW (output 0 volts).
mmmmmmResult
You should see your LED turn on and off. If the required output is not seen, make sure you have assembled the circuit correctly, and verified and uploaded the code to your board.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------mFHTAMM
-
6:32
WhaddoYouMeme
15 hours ago $1.77 earnedChristians, These Reactions Should Disturb You
4.29K17 -
9:59
Clownfish TV
13 hours agoWarner Bros and Paramount are MERGING?! | Clownfish TV
2.35K2 -
19:19
World2Briggs
1 day ago $0.59 earnedTop 10 Amazing States With The Lowest Taxes.
4.26K -
LIVE
BEK TV
22 hours agoTrent Loos in the Morning - 9/16/2025
370 watching -
LIVE
The Bubba Army
21 hours agoDid Charlie Kirk's Killer, Confess On Discord? - Bubba the Love Sponge® Show | 9/16/25
3,015 watching -
8:41
Zoufry
1 day agoInside The Cartels Training Camps for Assassins
5.17K1 -
12:37
itsSeanDaniel
1 day agoFake Republican REFUSES to Stand Up for Charlie Kirk
12.1K22 -
1:01:55
MTNTOUGH Podcast w/ Dustin Diefenderfer
21 hours agoJason Khalipa: American Men: Get Off the Couch and Rise Up Now | MTNPOD #133
20.4K44 -
5:17
Blackstone Griddles
12 hours agoEasy Weeknight Meals: Creamy Parmesan Beef Pasta
11.7K3 -
7:08
Rena Malik, M.D.
22 hours ago $1.02 earnedFour totally surprising causes of Back Pain
10.7K1