Arduino Uno

Contact us at any time

Door No.510
Samastha jubilee memorial soudham
Ph:+91 9633 11 80 80

Enquire and suggestions

Whatsapp +91 9633 11 80 80

Arduino Open Blink Example

The Arduino IDE contains example programs. In this page, we are going to make your Arduino board blink an LED.
The Arduino Uno board contain inbuilt an LED on board that is connected with Arduino pin 13

Arduino inbult LED

Arduino Example

File --> Examples --> Basics --> Blink

Arduino Program

Most Arduinos have an on-board LED you can control. On the UNO, it is attached to digital pin 13. LED_BUILTIN is set to the correct LED pin independent of which board is used.

void setup()
  pinMode(LED_BUILTIN, OUTPUT);     // initialize digital pin LED_BUILTIN as an output.

void loop()
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second

Follow us

Tutorials / Code