from machine import Pin
import time

RED_PIN = 22
BLUE_PIN = 18
YELLOW_PIN = 14

blue_led = Pin(BLUE_PIN, Pin.OUT)
red_led = Pin(RED_PIN, Pin.OUT)
yellow_led = Pin(YELLOW_PIN, Pin.OUT)

while True:
    for i in range(2):
        if i == 0:
            red_led.on()
            print("Rote LED ist an")
            time.sleep(1)
            red_led.off()
            print("Rote LED ist aus")
            time.sleep(1)
        else:
            blue_led.on()
            print("Blaue LED ist an")
            time.sleep(1)
            blue_led.off()
            print("Blaue LED ist aus")
            time.sleep(1)
    for i in range(6):
        yellow_led.on()
        print("Gelbe LED ist an")
        time.sleep(1)
        print("Gelbe LED ist aus")
        yellow_led.off()
        time.sleep(1)