How To Turn ON OFF LED using Arduino UNO

  How To Turn ON OFF LED using Arduino UNO




In this video we are going to turn on off led using arduino uno.

Circuit Diagram: 


Code :
// ON OFF LED
void setup() {
  pinMode (7, OUTPUT);

}

void loop() {
  digitalWrite(7, HIGH);
  delay(1000);
  digitalWrite(7, LOW);
  delay(1000);
}


Comments