from machine import Pin
import time
A1 = Pin(2,Pin.OUT)
B1 = Pin(3,Pin.OUT)
C1 = Pin(13,Pin.OUT)
D1 = Pin(14,Pin.OUT)
E1 = Pin(15,Pin.OUT)
F1 = Pin(1,Pin.OUT)
G1 = Pin(0,Pin.OUT)
A2 = Pin(6,Pin.OUT)
B2 = Pin(7,Pin.OUT)
C2 = Pin(10,Pin.OUT)
D2 = Pin(11,Pin.OUT)
E2 = Pin(12,Pin.OUT)
F2 = Pin(4,Pin.OUT)
G2 = Pin(5,Pin.OUT)
sw1 = Pin(22,Pin.IN,Pin.PULL_UP)
def three():
A2.value(1)
B2.value(1)
C2.value(1)
D2.value(1)
E2.value(0)
F2.value(1)
G2.value(0)
while True:
three()
time.sleep(1)