Skip to content

Strange behaviour of onboard led sw #21

@TonyWitts

Description

@TonyWitts

from machine import Pin
led = Pin("LEDW", Pin.OUT)
led.on()

hangs when run after board reset. LED turns on but REPL does not return a prompt.

If the wifi is set up first and connected then the same code works as expected without hanging.

P.S. Why "LEDW" and not "LED"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions