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)
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