from machine import Pin
from time import sleep, sleep_ms
pins=[Pin(32,Pin.OUT),Pin(33,Pin.OUT),Pin(25,Pin.OUT),Pin(26,Pin.OUT),Pin(27,Pin.OUT),Pin(14,Pin.OUT),Pin(12,Pin.OUT)]
digits=[[0,0,0,0,0,0,1],
[1,0,0,1,1,1,1],
[0,0,1,0,0,1,0],
[0,0,0,0,1,1,0],
[1,0,0,1,1,0,0],
[0,1,0,0,1,0,0],
[0,1,0,0,0,0,0],
[0,0,0,1,1,1,1],
[0,0,0,0,0,0,0],
[0,0,0,1,1,0,0]
]
while True:a
for i in range(10):
for j in range (7):
pins[j].value(digits[i][j])
sleep(0.1)