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

implement display rotation #18

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

Conversation

AberDerBart
Copy link

@AberDerBart AberDerBart commented Feb 23, 2024

Fixes #17

Adds a rotation attribute to ssd1306_t that can be set via ssd1306_set_rotation to change the orientation of any further draw requests. Note that width and height still correspond to the original orientation.

@AberDerBart AberDerBart changed the title implement display rotation, fixes #17 implement display rotation Feb 23, 2024
@AberDerBart
Copy link
Author

wait, something went wrong with my git here, this is not the proper commit

@AberDerBart
Copy link
Author

so, this should be the correct version

@AberDerBart
Copy link
Author

wow, it still wasn't the correct version, how emberassing. Now I double checked and tested it.

@daschr
Copy link
Owner

daschr commented Mar 16, 2024

Sorry, I totally forgot you! I will check this out tomorrow.

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.

add alternative orientation options
2 participants