An upstream repo at: github.com/raspberrypi/pico-micropython-examples
Our examples at: rpi-pico-w/upython.
The examples can be run as described at Program Raspberry Pi Pico W with MicroPython.
- rpi-pico-w/upython/led_on.py: turn on-board LED on and leave it on forever. Useful to quickly check that you are still able to update the firmware.
- rpi-pico-w/upython/led_off.py: turn on-board LED off and leave it off forever
- rpi-pico-w/upython/pwm.py: pulse width modulation. Using the same circuit as the rpi-pico-w/upython/blink_gpio.py, you will now see the external LED go from dark to bright continuously and then back
- rpi-pico-w/upython/adc.py: analog-to-digital converter. The program prints to the UART the value of the ADC on GPIO 26 once every 0.2 seconds. The onboard LED is blinked as a heartbeat. The hello world is with a potentiometer: extremes on GND and VCC pins of the Pi, and middle output on pin 26, then as you turn the knob, the uart value goes from about 0 to about 64k.
Ancestors
- Program Raspberry Pi Pico W with MicroPython
- Program Raspberry Pi Pico W with X
- Raspberry Pi Pico W
- Raspberry Pi Pico variant
- Raspberry Pi Pico
- Raspberry Pi
- Raspberry Pi Foundation project
- Raspberry Pi Foundation
- Computer manufacturer
- Computer hardware
- Computer
- Information technology
- Area of technology
- Technology
- Home