We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Button B is pin 11, when pin11.read_digital() is executed, it always returns 0.
pin11.read_digital()
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.
The text was updated successfully, but these errors were encountered:
codal_app/microbithal: Fix define of MICROBIT_HAL_PIN_P11 to be 11.
1955adb
Fixes issue #136. Signed-off-by: Damien George <damien@micropython.org>
pin11 was accidentally defined to be pin 12. Fixed by 1955adb
Sorry, something went wrong.
No branches or pull requests
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:
This works fine on a V1.
The text was updated successfully, but these errors were encountered: