You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actionsbot
changed the title
MIPI DSI LCD Panel Example: how to use ILI9881C panel in landscape orientation?
MIPI DSI LCD Panel Example: how to use ILI9881C panel in landscape orientation? (IDFGH-13779)
Sep 27, 2024
Answers checklist.
General issue report
I attempted to run following example on ESP32-P4 with ILI9881C display:
https://github.com/espressif/esp-idf/tree/master/examples/peripherals/lcd/mipi_dsi
To make it work, I had to comment out part of esp_lcd_ili9881c driver which queries ID as it got stuck at
esp_lcd_panel_io_rx_param
:After that I managed to run the example which was displayed in portrait orientation.
I then attempted to rotate the display using
esp_lcd_panel_swap_xy()
with following result:I also tried to rotate the screen on LVGL level using
lv_display_set_rotation()
but this attempt failed as well.In LVGL documentation I found: In lack of hardware display rotation support
lv_draw_sw_rotate
can be used to rotate the buffer in theflush_cb
.However I am not sure how to implement it correctly. Could you please provide an example?
The text was updated successfully, but these errors were encountered: