Skip to content

Add a rotate180 method to the SSD1306 display driver #6609

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

Closed
wants to merge 1 commit into from
Closed

Add a rotate180 method to the SSD1306 display driver #6609

wants to merge 1 commit into from

Conversation

ckuethe
Copy link

@ckuethe ckuethe commented Nov 10, 2020

This simply sets a bit in the REG_REMAP and COM_OUT_DIR registers to change the scan directions. By flipping vertically and horizonally, the effect is the same as a 180 degree rotation. Handy, in case your display is upside-down for whatever reason.

Signed-off-by: Chris Kuethe chris.kuethe@gmail.com

This simply sets a bit in the REG_REMAP and COM_OUT_DIR to change
the scan directions.  By flipping vertically and horizonally, the
effect is the same as a 180 degree rotation.  Handy, in case your
display is upside-down for whatever reason.

Signed-off-by: Chris Kuethe <chris.kuethe@gmail.com>
@mcauser
Copy link
Contributor

mcauser commented May 14, 2021

Display rotation was implemented in PR #7135

@dpgeorge
Copy link
Member

Thanks @ckuethe for the contribution, and sorry this got completely lost/missed. It has since been implemented in 9eea51b

@dpgeorge dpgeorge closed this May 14, 2021
@ckuethe
Copy link
Author

ckuethe commented May 14, 2021

That's alright, the other PR had more screenshots. Either way, I'm glad this functionality is now available.

@mcauser
Copy link
Contributor

mcauser commented May 14, 2021

Sorry, I should have checked for existing PRs before firing away. (There was actually 2 of them, and I even reviewed the first one)

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

Successfully merging this pull request may close these issues.

3 participants