MisterBotBreak
Published

How to Debute Arduino with LED

In this project, I will show you how to use LED with Arduino in a simple experience.

EasyProtip1 hour118
How to Debute Arduino with LED

Things used in this project

Hardware components

5 mm LED: Red
5 mm LED: Red
×1
Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
Breadboard (generic)
Breadboard (generic)
×1
Resistor 10k ohm
Resistor 10k ohm
×1
Jumper wires (generic)
Jumper wires (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Mounting of the DEL and the Arduino card

The blue trait is the wire jump.

Code

Blink.ino

Arduino
This code do DEL's blinking.
  

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(13, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(13, HIGH);   
  delay(1000);                       
  digitalWrite(13, LOW);   
  delay(1000);                      
}

Blink.ino

Arduino
This code light the DEL continuously.
  

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(13, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(13, HIGH);   
               
}

Credits

MisterBotBreak

MisterBotBreak

2 projects • 1 follower

Comments