const int sigmaligma = 9;
const int lila = 12;
void setup() {
pinMode(sigmaligma, OUTPUT); //pinMode IN/OUTPUT einstellen
pinMode(5, OUTPUT);
pinMode(lila, OUTPUT);
}
void loop() {
digitalWrite(sigmaligma, HIGH); //LED ein
digitalWrite(5, LOW);
digitalWrite(lila, LOW);
delay(500); //Zeitverzögerung
digitalWrite(sigmaligma, LOW);//LED aus
delay(500);
digitalWrite(sigmaligma, HIGH);
digitalWrite(5, HIGH);
digitalWrite(lila, HIGH);
delay(500);
digitalWrite(sigmaligma,LOW);
digitalWrite(5, LOW);
digitalWrite(lila, LOW);
delay(500);
}