Unfortunately, this makes things difficult to debug if you're using the UF2/USB flashing method, as there's no way to know if the program is actually running correctly other than the USB mass storage device suddenly disappearing.
I think it's worth calling this out this difference in the README and/or src/main.rs. Connecting an LED to one of the other GPIOs via a resistor, and changing led_pin seems to work fine.
The Pico W and WH connect the on-board LED to
WL_GPIO0
on the Infineon CYW43439 (WiFi/BTLE interface), rather thanGPIO 25
as used in the "Hello World" program in this repository (where theled
pin is defined in therp-pico
crate).Unfortunately, this makes things difficult to debug if you're using the UF2/USB flashing method, as there's no way to know if the program is actually running correctly other than the USB mass storage device suddenly disappearing.
I think it's worth calling this out this difference in the
README
and/orsrc/main.rs
. Connecting an LED to one of the other GPIOs via a resistor, and changingled_pin
seems to work fine.