Arduino LED Blink

Connections

Here is the connection diagram!

Connections:
Led(+) -D13
Led(-) – Resistor(220 ohm)
Resistor other leg – GND

Code

Here is the code for blinking led on arduino!

Arduino
// C++ code
// LED Blinking Project for Playing That

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

void loop()
{
  digitalWrite(13, HIGH);
  delay(1000); // Wait for 1000 millisecond(s)
  digitalWrite(13, LOW);
  delay(1000); // Wait for 1000 millisecond(s)
}