###############################################
# Built-in LED Blinking PICO W #
###############################################
#
# Blink an LED on Raspberry Pi Pico w Using MicroPython (Hardware & Simulation)
#
# Check out the link for Code explanation and Hardware details
# Link:
# http://tech.arunkumarn.in/blogs/raspberry-pi-pico/
#
from machine import Pin
import time
# Built-in LED is accessed using "LED" string value
# instead of GPIO number
led = Pin("LED", Pin.OUT)
while True:
led.on()
time.sleep_ms(1000)
led.off()
time.sleep_ms(750)