Hi, I have a stream of text coming from the serial port and I would like to display the text on a page. I know how to display static text to a page from studying the examples on the official document, but I am having trouble finding a way to update the label on a 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?
Display a stream of text on to a page
What have you tried so far?
I am reading about task as it can be executed periodically.
However, my label on the page is created with:
lv_obj_t * label = lv_label_create(page, NULL);
and this label is inside of the page function.
I am having troubles to see have to update the same label with a task.
Sorry do you mean creating the page and the label(child of the page) outside of the setup() so they will be global? How do you store the label reference in a global variable?
@kev if you figured it out, its always worth explaining how, so the next person with the same issue(me) doesnt want to shout at the screen because this is the only relevantly titled search result