Skip to content
New issue

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

Pin 9 in display mode V2 #57

Closed
microbit-mark opened this issue Jan 4, 2021 · 2 comments
Closed

Pin 9 in display mode V2 #57

microbit-mark opened this issue Jan 4, 2021 · 2 comments
Assignees
Milestone

Comments

@microbit-mark
Copy link

microbit-mark commented Jan 4, 2021

Using pin9.write_digital(1) results in ValueError: Pin 9 in display mode which we would expect on V1 as the display is coupled to the Pin.

Should it be the case as per https://tech.microbit.org/hardware/edgeconnector/#edge-connector-pins that Pin9 is no-longer coupled to the display for V2 and if so can we enable use of pin9 without having to disable the display?

MicroPython v1.13 on 2020-12-21; micro:bit v2.0.0-beta.3 with nRF52833
Type "help()" for more information.
>>> from microbit import *
>>> pin9.write_digital(1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: Pin 9 in display mode
jaustin added a commit that referenced this issue Feb 12, 2021
P9 is a spare pin on micro:bit V2, but was shared with the display on V1

Full pinout is available https://tech.microbit.org/hardware/edgeconnector/

See #57
@jaustin
Copy link
Contributor

jaustin commented Feb 12, 2021

See #64 - will test once there's a CI build

@jaustin jaustin added this to the 2.0.0-beta.4 milestone Feb 12, 2021
jaustin added a commit that referenced this issue Feb 15, 2021
P9 is a spare pin on micro:bit V2, but was shared with the display on V1

This commit updates the definition of the pin and stops the display from
trying to acquire/release it during enable/disable

Full pinout is available https://tech.microbit.org/hardware/edgeconnector/

See #57
dpgeorge pushed a commit that referenced this issue Feb 17, 2021
P9 is a spare pin on micro:bit V2, but was shared with the display on V1.

This commit updates the definition of the pin and stops the display from
trying to acquire/release it during enable/disable.

Full pinout is available https://tech.microbit.org/hardware/edgeconnector/

See #57
@dpgeorge
Copy link
Collaborator

Fixed by a94e53d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants