Raspberry Pi Pico Simulator projects | Blink an LED - MicroPython | using Free Wokwi Pi Pico Simulator
How to Blink an LED on Pi Pico using Micro Python?π‘
Project Summary
In this Pi Pico example, we will blink an LED connected to Raspberry Pi Pico. We will code using Micro Python. The LED is connected to pin GP5 of the Raspberry Pi Pico. Let's start the simulation!
Wokwi Raspberry Pi Pico simulator is used here as it is free and easy to use online. You will get the code and the connection diagram explicitly in the Pi Pico simulation section below.
Wokwi Raspberry Pi Pico Simulator - Blink an LED |
Tipπ¨: Always connect a resistor of about 220 ohms in series with the LED. Do not connect them directly to the Raspberry Pi Pico Pin.
Components you need
- Raspberry Pi Pico Board
- LED
- 220 ohms resistor
- connecting wire
Challenges you are ready to take on
- Change the LED toggling rate to 10 Hz
- Change the color of the LED in the simulator to green
Raspberry Pi Pico Simulation
In the section below, you can also modify the code and see the results instantly. You can change the code and recompile it by clicking on Rerun/Run button. For more help, please visit Discord channel of the Wokwi Pi Pico Simulator.
+100 ...............there are only seven
ReplyDelete