#########################################
# Built-in LED Blinking #
#########################################
#
# Blink an LED on Raspberry Pi Pico Using MicroPython (Hardware & Simulation)
#
# Check out the link for Code explanation and Hardware details
# Link:
# http://tech.arunkumarn.in/blogs/raspberry-pi-pico/blink-an-led-on-raspberry-pi-pico-using-micropython/
#
from machine import Pin
import time
# Built-in LED is connected to GPIO 25
led = Pin(25, Pin.OUT)
while True:
led.on()
time.sleep(1)
led.off()
time.sleep(1)