Skip to content

Button B pin11 digital read always returns 0  #136

Closed
@microbit-carlos

Description

@microbit-carlos

Button B is pin 11, when pin11.read_digital() is executed, it always returns 0.

For a simple replicator, you can see how pressing button A changes pin5 value, but pin11 is always low:

from microbit import *

while True:
    print(pin5.read_digital(), pin11.read_digital())
    sleep(150)

This works fine on a V1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions