from machine import Pin
from time import sleep
a=Pin(0,Pin.OUT)
b=Pin(1,Pin.OUT)
c=Pin(9,Pin.OUT)
d=Pin(15,Pin.OUT)
e=Pin(14,Pin.OUT)
f=Pin(12,Pin.OUT)
g=Pin(13,Pin.OUT)
dot=Pin(10,Pin.OUT)
while True:
a.on()
b.on()
c.off()
d.off()
e.on()
f.on()
g.on()
dot.off()
sleep(1)
a.on()
b.on()
c.on()
d.off()
e.on()
f.on()
g.on()
dot.off()
sleep(1)
a.off()
b.on()
c.on()
d.off()
e.off()
f.off()
g.off()
dot.off()
sleep(1)
a.on()
b.off()
c.off()
d.on()
e.on()
f.on()
g.on()
dot.off()
sleep(1)
a.off()
b.on()
c.on()
d.on()
e.off()
f.on()
g.on()
dot.off()
sleep(1)
a.on()
b.on()
c.on()
d.off()
e.on()
f.on()
g.on()
dot.on()
sleep(1)