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
-
LIVE
MattMorseTV
5 hours ago $56.47 earned🔴Antifa RIOT vs. Federal OFFICERS.🔴
8,654 watching -
DVR
Man in America
7 hours agoLIVE: Digital ID & the DEATH of Freedom—An URGENT Warning
7.87K1 -
40:24
The Connect: With Johnny Mitchell
1 day agoInside The WORST Drug-Infested Slums Of Medellin, Colombia
4313 -
LIVE
Tundra Tactical
4 hours ago🛑LIVE NOW!! FBI Gets Caught LYING About Good Guys With Guns For 10 YEARS!!!!
274 watching -
LIVE
BlackDiamondGunsandGear
2 days agoAFTER HOURS ARMORY / Antifa / Lies/ Prison time
72 watching -
LIVE
DLDAfterDark
3 hours agoThe After Hours Armory! Tonight is The Chat's Chat! God, Guns, and Gear!
150 watching -
3:32:18
Mally_Mouse
6 hours ago🌶️ 🥵Spicy BITE Saturday!! 🥵🌶️- Let's Play: Phasmophobia
22.2K2 -
1:13:19
iCkEdMeL
2 hours ago $4.50 earnedChaos Explodes in Chicago & Portland | Feds Clash with Protesters!
10.1K4 -
21:54
Exploring With Nug
1 day ago $6.57 earnedScuba Diving Missing Person Search Leads to Discovery of Classic Cars!
37.9K6 -
LIVE
Phyxicx
6 hours agoStar Wars: Movie Battles II Community Event hosted by ReaperAF95 - 10/4/2025
109 watching