Distorted image. Please help!

Hi all,

I’m trying to display one button.
I get a strange picture:
https://imgbox.com/gallery/edit/VsscvQChB6/FCTmrzO8U5W2Z5Ta

Please help. In which direction to dig?

Code:
int main()
{

lv_init();
lv_port_disp_init();
lv_tft_init();

lv_obj_t * btn1 = lv_btn_create(lv_scr_act());
lv_obj_align(btn1, LV_ALIGN_CENTER, 0, 0);


}

Hi,

It seems like a driver issue. Can you copy-past you flush_cb here?

kisvegabor, thank you very much!
I managed to get the port to work.
I changed a lot of compiler flags.
It is necessary to understand by the method of elimination what exactly affected.

1 Like