= Raspberry Pi Pico W MicroPython example
{c}
An upstream repo at: https://github.com/raspberrypi/pico-micropython-examples
Some generic Micropython examples most of which work on this board can be found at: <MicroPython example>{full}.
Pico W specific examples are under: \a[rpi-pico-w/upython].
The examples can be run as described at <Program Raspberry Pi Pico W with MicroPython>.
* \a[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.
* \a[rpi-pico-w/upython/led_off.py]: turn on-board LED off and leave it off forever
* \a[rpi-pico-w/upython/pwm.py]: <pulse width modulation>. Using the same circuit as the <rpi-pico-w/upython/blink_gpio.py>{file}, you will now see the external LED go from dark to bright continuously and then back
Back to article page