from machine import Pin
import time
# Define the LED pin
led_pin = Pin(15, Pin.OUT)
# Blink the LED forever
while True:
led_pin.toggle() # Turn the LED on/off
time.sleep(0.5) # Wait for half a secondfrom machine import Pin
import time
# Define the LED pin
led_pin = Pin(15, Pin.OUT)
# Blink the LED forever
while True:
led_pin.toggle() # Turn the LED on/off
time.sleep(0.5) # Wait for half a second