# "LED" (or pin 25) is not known in v1,23

**URL:** <https://forums.pimoroni.com/t/led-or-pin-25-is-not-known-in-v1-23/27651>\
**Category:** Support\
**Created:** [April 19, 2025, 6:05pm UTC](https://forums.pimoroni.com/t/led-or-pin-25-is-not-known-in-v1-23/27651 "2025-04-19T18:05:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Theo](https://avatars.discourse-cdn.com/v4/letter/t/a87d85/32.png) [@Theo](https://forums.pimoroni.com/u/Theo)\
**Post date:** [April 19, 2025, 6:05pm UTC](https://forums.pimoroni.com/t/led-or-pin-25-is-not-known-in-v1-23/27651/1 "2025-04-19T18:05:44Z")

</div>

Pimeroni Pico lipo with 16MB, not the W version

led = Pin(“LED”, Pin.OUT)  
while True:  
led.toggle()  
sleep(0.5)

This works in MicroPython v1.21, not in v1.23

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [April 20, 2025, 9:17am UTC](https://forums.pimoroni.com/t/led-or-pin-25-is-not-known-in-v1-23/27651/2 "2025-04-20T09:17:52Z")

</div>

Try `led = Pin(25, Pin.OUT)` and see if that fixes it.

> <https://github.com/pimoroni/pimoroni-pico/blob/main/micropython/examples/pimoroni_pico_lipo/button_blink.py>

---

<div class="post-metadata">

**Author:** ![Theo](https://avatars.discourse-cdn.com/v4/letter/t/a87d85/32.png) [@Theo](https://forums.pimoroni.com/u/Theo)\
**Post date:** [April 21, 2025, 7:08am UTC](https://forums.pimoroni.com/t/led-or-pin-25-is-not-known-in-v1-23/27651/3 "2025-04-21T07:08:24Z")

</div>

Of course this works, but the point is that all my existing MicroPython programs have to be changed as a result of this “update".

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [April 21, 2025, 8:48am UTC](https://forums.pimoroni.com/t/led-or-pin-25-is-not-known-in-v1-23/27651/4 "2025-04-21T08:48:36Z")

</div>

That happens, things change as a result of changes in the “new” version of Python. I do believe it also has to do with the LED using different pins / GP internally depending on whether its a Pico, Pico W or Pico 2 etc?
