IoT

Basic LED Blinking with Arduino UNO

Basic LED Blinking with Arduino UNO
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);

}
UTKARSH KUNWAR

Freelance Developer, Security Researcher, Tech Geek, IoT & Machine Learning Enthusiast, Soul Traveller, Born to Ride Force to Work, Nature Lover & Good Photographer too.