I’m trying to rotate my display image from landscape to portrait. When this is done in the SLS project settings it works fine in the user interface but has no effect on the actual display.
define ESP_PANEL_LCD_WIDTH (480)
define ESP_PANEL_LCD_HEIGHT (800)
define LVGL_PORT_ROTATION_DEGREE (90)
uint32_t direct_mode : 1; /**< 1: Use screen-sized buffers and draw to absolute coordinates*/
uint32_t full_refresh : 1; /**< 1: Always make the whole screen redrawn*/
uint32_t sw_rotate : 1; /**< 1: use software rotation (slower)*/
uint32_t antialiasing : 1; /**< 1: anti-aliasing is enabled on this display.*/
uint32_t rotated : 1; /**< 1: turn the display by 90 degree. @warning Does not update coordinates for you!*/
uint32_t screen_transp : 1; /**Handle if the screen doesn't have a solid (opa == LV_OPA_COVER) background.
* Use only if required because it's slower.*/
I tried to integrate an basic SLS project into the lvgl_Porting example and to use #define LVGL_PORT_ROTATION_DEGREE (90). It works but a part of the drawing is lost.
Maybe an issue at the driver's level
I’m trying to rotate my display image from landscape to portrait. When this is done in the SLS project settings it works fine in the user interface but has no effect on the actual display.
[
](https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-5#Modify_the_Driver)