int grunelampe = 10;
int rotelampe = 8;
int gelbelampe =3;
int blauelampe=2;
void setup()
{
pinMode(10,OUTPUT);
pinMode(8,OUTPUT);
pinMode(3,OUTPUT);
pinMode(2,OUTPUT);
}
void loop()
{
digitalWrite(rotelampe,HIGH);
digitalWrite(grunelampe,LOW);
delay(500);
digitalWrite(rotelampe,LOW);
digitalWrite(gelbelampe,HIGH);
digitalWrite(blauelampe,LOW);
delay(500);
digitalWrite(gelbelampe, LOW);
digitalWrite(grunelampe,HIGH);
digitalWrite(rotelampe, LOW);
delay(500);
digitalWrite(grunelampe, LOW);
digitalWrite(blauelampe,HIGH);
delay(500);
digitalWrite(blauelampe,LOW);
}