code

int ledred = 8;
int ledyellow = 10;
int ledgreen = 12;

digitalWrite(ledred,LOW);
digitalWrite(ledyellow,HIGH); // on the led
delay(1000);
digitalWrite(ledyellow,LOW);
digitalWrite(ledgreen,HIGH); // on the led
delay(5000);
digitalWrite(ledgreen,LOW);
}






1 / 1
Slide 1: Slide

This lesson contains 1 slide, with text slide.

Items in this lesson

int ledred = 8;
int ledyellow = 10;
int ledgreen = 12;

digitalWrite(ledred,LOW);
digitalWrite(ledyellow,HIGH); // on the led
delay(1000);
digitalWrite(ledyellow,LOW);
digitalWrite(ledgreen,HIGH); // on the led
delay(5000);
digitalWrite(ledgreen,LOW);
}






Slide 1 - Slide