const int green = 4;
const int red = 5;
const int yellow = 6;
void setup() {
// put your setup code here, to run once:
pinMode(green, OUTPUT);
pinMode(red, OUTPUT);
pinMode(yellow, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(red, HIGH);
delay(500);
digitalWrite(red, LOW);
delay(500);
digitalWrite(green, HIGH);
delay(500);
digitalWrite(green, LOW);
delay(500);
digitalWrite(yellow, HIGH);
delay(500);
digitalWrite(yellow, LOW);
delay(500);
}