Skip to content
Delivery to all 64 districts
BuildIoT Bangladesh
Arduino Boards and Shields Audio and Sound Modules Cables and Connectors Communication and Interface Modules Discrete Components and ICs Displays and Indicators

Blink an LED with Arduino

JOHURUL ISLAM · 16 Oct 2026 · 1 min read

What you need

A board, a 220 ohm resistor and an LED.

Wiring

  • LED long leg to pin 13 through the resistor

  • Short leg to GND

The code

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

void loop() {
  digitalWrite(13, HIGH);
  delay(500);
  digitalWrite(13, LOW);
  delay(500);
}

Keep reading

Click to turn on AI bot!
BuildiotBot

BuildiotBot · AI Guide ● LIVE

Dynamic Agent · BuildIoT BD Store

AI Engine:
BUILDIOT QUOTE:
🤖
Searching database & reasoning...
Back to top