int ledG = 13;
int ledV = 12;
int ledR = 11;
void setup() {
// put your setup code here, to run once:
pinMode(ledR, OUTPUT);
pinMode(ledV, OUTPUT);
pinMode(ledG, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(ledV, HIGH);
delay(9000);
digitalWrite(ledV, LOW);
delay(10);
digitalWrite(ledR, HIGH);
delay(6000);
digitalWrite(ledR, LOW);
delay(10);
digitalWrite(ledG, HIGH);
delay(4000);
digitalWrite(ledG, LOW);
delay(10);
}
Comments