from machine import Pin
led = Pin(16, Pin.OUT)
led.on()
sleep(2)
led.off()
print ("Do you want to turn on the LED")
print ("yes - on")
print ("no - off")
from machine import Pin
led = Pin(16, Pin.OUT)
led.on()
sleep(2)
led.off()
print ("Do you want to turn on the LED")
print ("yes - on")
print ("no - off")