Blink LED Tutorial

Learn how to blink an LED using Arduino. This is the first project every beginner should try.

Components Needed

Arduino UNO

LED

220Ω Resistor

Breadboard

Jumper Wires

  • How It Works

    The LED turns on for one second and off for one second repeatedly.

  • What You'll Learn

    ✅Digital Outputs

    ✅ Arduino Programming Basics

    ✅ Uploading Code

    ✅ Basic Circuit Wiring


void setup() {
  pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
  digitalWrite(LED_BUILTIN, HIGH);
  delay(1000);
  digitalWrite(LED_BUILTIN, LOW);
  delay(1000);
}