from machine import Pin
from time import sleep
nr=Pin(1,Pin.OUT)
ny=Pin(2,Pin.OUT)
ng=Pin(3,Pin.OUT)
wr=Pin(4,Pin.OUT)
wy=Pin(5,Pin.OUT)
wg=Pin(6,Pin.OUT)
sr=Pin(7,Pin.OUT)
sy=Pin(8,Pin.OUT)
sg=Pin(9,Pin.OUT)
er=Pin(10,Pin.OUT)
ey=Pin(11,Pin.OUT)
eg=Pin(12,Pin.OUT)
while True:
nr.off()
ny.on()
ng.off()
wr.off()
wy.off()
wg.on()
sr.on()
sy.off()
sg.off()
er.on()
ey.off()
eg.off()
sleep(2)
nr.off()
ny.off()
ng.on()
wr.on()
wy.off()
wg.off()
sr.on()
sy.off()
sg.off()
er.off()
ey.on()
eg.off()
sleep(2)
nr.on()
ny.off()
ng.off()
wr.on()
wy.off()
wg.off()
sr.off()
sy.on()
sg.off()
er.off()
ey.off()
eg.on()
sleep(2)
nr.on()
ny.off()
ng.off()
wr.off()
wy.on()
wg.off()
sr.off()
sy.off()
sg.on()
er.on()
ey.off()
eg.off()
sleep(2)