Hello I fiddle
now with Arduino and lvgl and I have the Problem that in lvgl Version 8 lv_disp_buf_tis not available anymore
Use:
static lv_disp_draw_buf_t draw_buf;
static lv_color_t buf1[screenWidth * 113];
lv_disp_draw_buf_init(&draw_buf, buf1, NULL, screenWidth * 113);
/*Initialize the display*/
static lv_disp_drv_t disp_drv;
lv_disp_drv_init(&disp_drv);
disp_drv.hor_res = screenWidth;
disp_drv.ver_res = screenHeight;
disp_drv.flush_cb = my_disp_flush;
disp_drv.draw_buf = &draw_buf;
lv_disp_drv_register(&disp_drv);
Thank you Miguel