Cheap Yellow Display & LVGL

When I use LVGL apps with my Cheap Yellow Display the display only works in portrait mode, if I set width 320 Height 240 as in the examples I have the screen is not readable but if I set width 240 height 320 they work fine but the display is portrait, non LVGL apps work fine in landscape mode

You have to set the rotation in the underlying graphics driver, TFT_eSPI or LovyanGFX whatever you are using,

Thank you will try that and see what happens
Dave

tried what I could from your reply but had no change in performance
Dave

What have you tried?
Which underlying graphics are you using?
I suggest trying to get that working without LVGL first.

finally found a solution i have to add the set rotation line after the disp= line then things work as I expect. but on my Cheap Yellow Display setting the width greater then 240 kills the screen display so it insists on being initially in portrait mode thith height 320 and width 240

// Initialize the TFT display using the TFT_eSPI library
disp = lv_tft_espi_create(SCREEN_WIDTH, SCREEN_HEIGHT, draw_buf, sizeof(draw_buf));

// trying to rotate screen

lv_display_set_rotation(disp,LV_DISPLAY_ROTATION_90);

Glad it’s working now!