Hack star
Published © GPL3+

Blink an LED with Raspberry Pi Pico on online Pico - 2022

Learn how to program a Raspberry Pi Pico to blink the built-in LED using a free Raspberry Pi Pico Simulator

BeginnerFull instructions provided1 hour8,261
Blink an LED with Raspberry Pi Pico on online Pico - 2022

Things used in this project

Hardware components

Raspberry Pi Pico
Raspberry Pi Pico
×1
LED
DIYables LED
×1
Jumper Wires
DIYables Jumper Wires
×1
Breadboard
DIYables Breadboard
×1
Starter Kit
DIYables Starter Kit
Optional
×1

Software apps and online services

wokwi Pico Simulator

Story

Read more

Schematics

Raspberry Pi Pico with builtin LED on Raspberry Pi Pico Simulator

Code

Blink code on Raspberry Pi Pico simulator

Arduino
Feel free to tinker with the code online here: https://wokwi.com/arduino/projects/297908031660753421
// LED_BUILTIN in connected to pin 25 of the RP2040 chip.
// It controls the on board LED, at the top-left corner.

void setup() {
  pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
  digitalWrite(LED_BUILTIN, HIGH);
  delay(500);
  digitalWrite(LED_BUILTIN, LOW);
  delay(500);
}

Credits

Hack star

Hack star

75 projects • 122 followers
an Arduino enthusiast and an electronic hobbyist

Comments