Loading, please wait...

A to Z Full Forms and Acronyms

Basic LED Blinking with Arduino UNO

Jul 03, 2018 Led Blink, Arduino, IoT, 1050 Views
This is a basic programme of led blinking. A "Hello World!" programme of IoT.
void setup() {
  
  pinMode(2, OUTPUT); //declare pin to perform action
}

void loop() {
  
  digitalWrite(2, HIGH); //led ON
  delay(1000); //delay of 1 second
  digitalWrite(2, LOW);//led OFF
  delay(1000);

}
A to Z Full Forms and Acronyms

Related Article