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

Ability to rotate. #91

Open
sirherrbatka opened this issue May 31, 2022 · 2 comments
Open

Ability to rotate. #91

sirherrbatka opened this issue May 31, 2022 · 2 comments

Comments

@sirherrbatka
Copy link

So, I was thinking, it would be cool if duckypad could be flipped upside down. This would entail setting option to change how display works. Would that be easy to do?

@jose1711
Copy link
Contributor

I don't see a direct support for rotation in SSD1306's datasheet but it's still possible to implement by e. g. translating the coordinates (example: https://github.com/adafruit/Adafruit_SSD1306/blob/ca3a261c95486ff20d654489f3a3641e1c847eac/Adafruit_SSD1306.cpp#L954)

@jose1711
Copy link
Contributor

In case you'd still be interested: jose1711@cfb3e90

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

2 participants