from machine import *
from utime import sleep
led = Pin(1, Pin.OUT)
while True:
led.on() # Turn on the LED
sleep(0.5) # Wait for half a second
led.off() # Turn off the LED
sleep(0.5) # Wait for half a second
from machine import *
from utime import sleep
led = Pin(1, Pin.OUT)
while True:
led.on() # Turn on the LED
sleep(0.5) # Wait for half a second
led.off() # Turn off the LED
sleep(0.5) # Wait for half a second