from machine import Pin
import time
led_red1=Pin(4,Pin.OUT)
led_yellow1=Pin(2,Pin.OUT)
led_green1=Pin(15,Pin.OUT)
led_red2=Pin(21,Pin.OUT)
led_yellow2=Pin(22,Pin.OUT)
led_green2=Pin(23,Pin.OUT)
led_red3=Pin(19,Pin.OUT)
led_yellow3=Pin(18,Pin.OUT)
led_green3=Pin(5,Pin.OUT)
led_red4=Pin(0,Pin.OUT)
led_yellow4=Pin(16,Pin.OUT)
led_green4=Pin(17,Pin.OUT)
while True:
led_red1.on()
led_red2.on()
led_red3.on()
led_green4.on()
sleep(5)
led_green4.off()
led_yellow4.on()
sleep(5)