Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4874

MicroPython • Re: The LED on my Raspberry Pi Pico W won't blink

$
0
0
It doesn't work for the Pico W because the LED is not connected to GPIO 25 on that.

Change to this and your code should work on a Pico or Pico W but make sure you have the correct MicroPython firmware installed on each -

led_pin = machine.Pin("LED", machine.Pin.OUT)

Statistics: Posted by hippy — Mon Jul 29, 2024 7:17 pm



Viewing all articles
Browse latest Browse all 4874

Trending Articles