Blink on-board LED. Note that they broke the LED hello world compatibility from non-W to W for God's sake!!!
The MicroPython code needs to be changed from the Raspberry Pi Pico 1, forums.raspberrypi.com/viewtopic.php?p=2016234#p2016234 comments:
Unlike the original Raspberry Pi Pico, the on-board LED on Pico W is not connected to a pin on RP2040, but instead to a GPIO pin on the wireless chip.
rpi-pico-w/upython/blink.py
from machine import Pin
import time
led = Pin('LED', Pin.OUT)
# For Rpi Pico (non-W) it was like this instead apparently.
# led = Pin(25, Pin.OUT)
while (True):
led.toggle()
time.sleep(.5)
Ancestors
- Raspberry Pi Pico W MicroPython example
- 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
Ciro Santilli