Skip to content

blink.py doesn't work on Pico W #48

Closed
@henley-regatta

Description

@henley-regatta

The onboard LED is not tied to GPIO 25 on the new Pico W so the example code in blink.py doesn't work.

Replacing the initialisation with:
led = Pin("LED", Pin.OUT)

..works using an alias and is portable (for recent firmwares) between Pico and Pico W

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions