Carlotta Berry
Published

Lily∞Bot with Raspberry PI Pico W: Blink LED on breadboard

This project shows how to blink an LED mounted to breadboard. It's assumed you have completed getting started with Raspberry PI Pico W.

BeginnerFull instructions provided1 hour91
Lily∞Bot with Raspberry PI Pico W: Blink LED on breadboard

Things used in this project

Hardware components

lilybot robot
×1
Raspberry Pi Pico W
Raspberry Pi Pico W
×1
LED (generic)
LED (generic)
×1
Resistor 220 ohm
Resistor 220 ohm
×1

Software apps and online services

MicroPython
MicroPython
PlatformIO IDE
PlatformIO IDE

Story

Read more

Custom parts and enclosures

Lily Bot GIT HUB Repository

Schematics

LED on pin 28 of Raspberry Pi Pico W on Lily∞Bot

Code

Code to blink an external LED

MicroPython
This is the code to blink and external LED on pin 28 of the Raspberry Pi Pico W
#CAB 9.14.23 buzzer.py
#blink the LED on the LilyBot
#LED on pin 28
#https://www.noiresteminist.com/shop

import machine
import utime 

led = machine.Pin(28, machine.Pin.OUT)

print("LED flast test 2...")

delay = 0.5

while True:
    led.value(1)
    utime.sleep(delay)
    led.value(0)
    utime.sleep(delay)

Credits

Carlotta Berry
14 projects • 21 followers
Carlotta Berry is a Professor and Dr. Lawrence J. Giacoletto Endowed Chair for Electrical and Computer Engineering at Rose-Hulman.
Contact

Comments

Please log in or sign up to comment.