simple led blink using arduino


void setup() {
 
  pinMode(6, OUTPUT);
    pinMode(8, OUTPUT);
}
void loop() {
  digitalWrite(6, HIGH); 
  delay(500);
  digitalWrite(6, LOW);
   delay(500); 
  digitalWrite(8, HIGH);
   delay(500);
  digitalWrite(8, LOW);
   delay(500);
}

Post a Comment

0 Comments