using_the_pico_run_button_-_simple
This is an old revision of the document!
Using the Pico RUN Button - Simple
Introduction
The Raspberry Pi Pico has a RUN pin, see below.
Connecting this Pin to GND starts (or if it is already running restarts) the Raspberry Pi Pico. For this example I am going connect a button from the RUN pin (30) to the GND Pin (28).
Connect the button as shown below, we are using the Raspberry Pico onboard LED.
The code we are going to use is a simple piece of Micro Python to flash the onboard LED, this code works on both the Wireless and non Wireless Pico boards.
Pico Code
Download this code and save it to your Pico in a file called main.py.
- | download
from picozero import pico_led pico_led.blink(0.1)
using_the_pico_run_button_-_simple.1784217839.txt.gz · Last modified: by walkeradmin

