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

Rotation problem #575

Open
elektromos opened this issue Dec 2, 2024 · 0 comments
Open

Rotation problem #575

elektromos opened this issue Dec 2, 2024 · 0 comments

Comments

@elektromos
Copy link

Hi!
I have a problem that I can only rotate the screen 180 degrees. I need 90 degrees horizontal rotation. How can I achieve this, because no matter what I set, the screen does not rotate 90 degrees. Here are my settings: Arduino_DataBus bus = new Arduino_ESP32QSPI(
45 /
CS /, 47 / SCK /, 21 / D0 /, 48 / D1 /, 40 / D2 /, 39 / D3 */);
Arduino_GFX g = new Arduino_AXS15231B(bus, GFX_NOT_DEFINED / RST /, 0/ rotation /, false / IPS /, 320 / width /, 480 / height */);
#define CANVAS
Arduino_Canvas gfx = new Arduino_Canvas(320 / width /, 480 / height /, g, 0 / output_x /, 0 / output_y /,0 / rotation */);

Please, if anyone knows how to rotate 90 degrees and it works, that would be really helpful.

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

1 participant