from machine import Pin
from time import sleep
a=Pin(2,Pin. OUT)
b=Pin(3,Pin. OUT)
c=Pin(4,Pin. OUT)
d=Pin(5,Pin. OUT)
e=Pin(6,Pin. OUT)
f=Pin(7,Pin. OUT)
g=Pin(8,Pin. OUT)
while True:
a.value(1)
b.value(0)
c.value(1)
d.value(1)
e.value(0)
f.value(1)
g.value(1)
sleep(1)