int red=2;
int ye=3;
int gre=4;
void setup() {
pinMode(red, OUTPUT);
pinMode(ye, OUTPUT);
pinMode(gre, OUTPUT);
}
void loop() {
digitalWrite(red,1);
delay(5000);
digitalWrite(ye,1);
delay(2000);
digitalWrite(red,0);
digitalWrite(ye,0);
digitalWrite(gre,1);
delay(5000);
digitalWrite(gre,0);
}