from machine import Pin,SPI
import time
b1=Pin(1,Pin.IN,Pin.PULL_UP)
b2=Pin(2,Pin.IN,Pin.PULL_UP)
b3=Pin(3,Pin.IN,Pin.PULL_UP)
b4=Pin(4,Pin.IN,Pin.PULL_UP)
b5=Pin(5,Pin.IN,Pin.PULL_UP)
b6=Pin(6,Pin.IN,Pin.PULL_UP)
b7=Pin(7,Pin.IN,Pin.PULL_UP)
while(1):
print("________________________")
print(b1.value())
print(b2.value())
print(b3.value())
print(b4.value())
print(b5.value())
print(b6.value())
print(b7.value())
time.sleep(1)