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

esp32-1732S019N Rotation 90/270 Broken #232

Open
lincomatic opened this issue Feb 2, 2025 · 1 comment
Open

esp32-1732S019N Rotation 90/270 Broken #232

lincomatic opened this issue Feb 2, 2025 · 1 comment

Comments

@lincomatic
Copy link

On the 1732S019N (ST7789 170x320), rotation 0 and 180 work properly, but 90 and 270 result in garbage thin horizontal dotted lines on the screen.

I'm using the lines from your sample code:

    smartdisplay_init();

    //__attribute__((unused)) auto disp = lv_disp_get_default();
    lv_disp_set_rotation(disp, LV_DISP_ROTATION_90);
    // lv_disp_set_rotation(disp, LV_DISP_ROTATION_180);
    // lv_disp_set_rotation(disp, LV_DISP_ROTATION_270);

    ui_init();
@rzeldent
Copy link
Owner

rzeldent commented Feb 8, 2025

Are you using the demo?
It the dimensions might be out of bounds and this might result in writing outside the buffer (this creating strange images)...

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