# 05 Buzzer and Button
# [Date]
# [Name]
from machine import Pin
from utime import sleep
button = Pin(26, Pin.IN, Pin.PULL_UP)
led = Pin(28, Pin.OUT)
while True:
led.value(1)
sleep(1)
led.value (0)
sleep(1)
# 05 Buzzer and Button
# [Date]
# [Name]
from machine import Pin
from utime import sleep
button = Pin(26, Pin.IN, Pin.PULL_UP)
led = Pin(28, Pin.OUT)
while True:
led.value(1)
sleep(1)
led.value (0)
sleep(1)