Inky Frame build-in LED doesn't work?

I´m trying to blink the built-in LED of the raspberry pi pico W of the Pimoroni Inky Frame, however I don’t get it to work.

I am able to blink the CONN LED for instance, but not the built-in LED (Pin = 25)

from machine import Pin, Timer

bi_led = Pin(25, Pin.OUT)

timer = Timer()

def blink(timer):
      bi_led.toggle()

timer.init(freq=2.5, mode=Timer.PERIODIC, callback=blink)

[…]

blink(timer)


also efforts like:

bi_led.value(1)
did not work.

Just a heads up, what used to work with a Pico, doesn’t work on a Pico W.
Pico W onboard LED not working [SOLVED] - Raspberry Pi Forums

Thank you very much!!!
I modified my code. It works!

1 Like