from machine import Pin
from time import sleep
L=Pin(23,Pin.OUT)
B=Pin(15,Pin.IN,Pin.PULL_DOWN)
while True:
print(B.value())
if B.value()==1
from machine import Pin
from time import sleep
L=Pin(23,Pin.OUT)
B=Pin(15,Pin.IN,Pin.PULL_DOWN)
while True:
print(B.value())
if B.value()==1