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

Way to rotate display output 180º? #24

Open
benguild opened this issue May 29, 2019 · 5 comments

Comments

Projects
None yet
3 participants
@benguild
Copy link

commented May 29, 2019

Missing feature

It'd be great to have a setting to rotate the displayed UI 180º when mounting the board upside down. So, the button hints would be at the top, but the other UI would be displayed underneath otherwise in a similar manner.

Justification

Since the USB power input is on the right side of the board, it's occasionally necessary depending on case/installation to rotate the board upside down for this to be on the left side.

This looks fine from a hardware perspective, but the UI can't be rotated.

Workarounds

None.

@marcelstoer

This comment has been minimized.

Copy link
Member

commented May 29, 2019

We heard this from elsewhere before and noticed ourselves that such a feature would be nice to have. Depending on the aspect ratio of the display rotating by 180° would be distinctively different from rotating by 90°/270° (i.e. portrait mode).

@benguild

This comment has been minimized.

Copy link
Author

commented May 29, 2019

Maybe if there was an enum that initially supported 0 or 1 for 0º or 180º ... then 2, 3 could be reserved for eventual portrait mode if it's ever added?

@marcelstoer

This comment has been minimized.

Copy link
Member

commented May 29, 2019

Just for the record you can rotate the whole screen but this will of course not take into account that header and footer need to be switched. This is a feature provided by our Mini Grafx library.

If you can live with the aforementioned shortcoming for now you can replace gfx.setRotation(1); in setup() with gfx.setRotation(3);.

IMG_3526

@benguild

This comment has been minimized.

Copy link
Author

commented Jun 2, 2019

I'll give it a try soon. I'm still waiting for my programmer to show up from China, but that honestly doesn't look that bad. It seems like if the bottom row could just be switched with the top, it would probably do the trick!

@TD-er

This comment has been minimized.

Copy link

commented Jun 2, 2019

Nope, the reset is not software defined.
But switching the labels and moving them to the top isn't that hard in software :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.