moononournation / Arduino_GFX

Arduino GFX developing for various color displays and various data bus interfaces
Other
760 stars 151 forks source link

LVGL v9.1 #461

Closed Tobi177 closed 2 months ago

Tobi177 commented 3 months ago

The flush callback defintion has changed at LVGL v9 and your examples are not working anymore with the latest version. The new definition is now like

void my_disp_flush(lv_display_t *disp, const lv_area_t *area, uint8_t * px_map) instead of void my_disp_flush(lv_disp_drv_t *disp, const lv_area_t *area, lv_color_t *color_p)

Without LVGL I got my ESP32RGBPanel working fine, colors are correct, content is displayed properly. However, once I added LVGL the panel display content is destroyed. I do not get any exception, only the image displayed is completely broken and wrong.

Do you have any example of using the function "draw16bitRGBBitmap" with the lastest LVGL version? - This would help me a lot! I have checked now for hours datatypes and compare the functions and maybe someone have more information on this.

Thank you. I think working example with LVGL v9.1 would be enough to solve this issue.