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
The Rubin Report
53 minutes agoListen to the Fear in Whoopi Goldberg’s Voice on 'The View' as She Gives a Chilling Warning
2,615 watching -
LIVE
Benny Johnson
1 hour agoKash Patel Testifying LIVE Now on Charlie Kirk Assassination, Trump to Declare Antifa TERRORISTS?!
6,724 watching -
2:07:38
Timcast
2 hours ago🚨LIVE: Kash Patel Testifies Over Charlie Kirk Assassination In Senate | Tim Pool
30.1K28 -
1:01:35
VINCE
2 hours agoThe Left's 'Malignant' Violence Problem | Episode 126 - 09/16/25
72.1K57 -
LIVE
LFA TV
5 hours agoLFA TV ALL DAY STREAM - TUESDAY 9/16/25
4,767 watching -
1:45:59
Dear America
3 hours agoKiller ADMITS To Killing Charlie In DISCORD. Terror Cell EXPOSED! + JD Fills In on Charlie’s Show!
148K81 -
LIVE
Wendy Bell Radio
6 hours agoThe Left Lives In A Bubble
7,081 watching -
LIVE
Barry Cunningham
2 hours agoLIVE BREAKING NEWS: KASH PATEL HEARING!
1,617 watching -
LIVE
House Committee on Energy and Commerce
1 hour agoAppliance And Building Policies: Restoring The American Dream Of Home Ownership And Consumer Choice
43 watching -
LIVE
The Big Mig™
2 hours agoTrump Declares Antifa Is A Domestic Terrorist Organization
2,544 watching