from machine import Pin
from utime import sleep
print("hello raspberry pi pico")
x = [
Pin(0,Pin.OUT), Pin(1,Pin.OUT),Pin(2,Pin.OUT),
Pin(3,Pin.OUT),Pin(4,Pin.OUT),Pin(5,Pin.OUT),
Pin(6,Pin.OUT), Pin(7,Pin.OUT)
]
table = [ [1,1,1,1,1,1,0,1] , [0,1,1,0,0,0,0,0 ], [1,1,0,1,1,0,1,0],
[1,1,1,1,0,0,1,0] , [0,1,1,0,0,1,1,0] , [1,0,1,1,0,1,1,0],
[1,0,1,1,1,1,1,0] , [1,1,1,0,0,0,0,0] , [1,1,1,1,1,1,1,0],
[1,1,1,1,0,1,1,0]
]
while True:
for i in range(0,10):
for j in range (0,8):
x[j].value(table[i][j])
sleep(1)