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

Allow the underlying interface to be released consuming the DisplayProperties #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SCingolani
Copy link

Necessary for https://github.com/SCingolani/rp-hal-boards/tree/pololu-threepi-plus-2040 where Spi interface needs to be reconfigured and shared between two devices. In between, the SCK Pin of the SH1106 has to be set to FunctionNull to avoid driving it while using the other device.

This change consumes the DisplayProperties and returns to the user both the Spi instance and the pins.

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

Successfully merging this pull request may close these issues.

1 participant