Description
Hi, I have a stream of text coming from the serial port and I have a task to update the text periodically. Some of the text streams are larger than the page size so I would like it to be scrolled to the bottom of the page.
What MCU/Processor/Board and compiler are you using?
ESP-32 nodeMCU-32s
What LVGL version are you using?
v7.9.0
What do you want to achieve?
scroll the page to bottom in a task.
What have you tried so far?
I have tried adding lv_page_scroll_ver(page, -10000); in my refresh task but it seems to freeze my whole program.
Code to reproduce
my refresh function:
void refr_func(lv_task_t * task)
{
lv_label_set_text(label, testStr2);
Serial.print("updated\n");
lv_page_scroll_ver(page, -10000);//scroll to the bottom, program freezes if this line is present
}