I heard lvgl and scoor line stereo doesn't collaborate together anymore If it's true Please make a full tutorial to design ui buy lvgl in vs code without SLS❤
I had the same problem because I have an esp32 with 64Kb of volatile memory. Two things must be done: move the weight from DRAM to PSRAM and use a non-blocking timer in the loop. And you can solve it this way. Change the line code in this way: //draw_buf_1 = heap_caps_malloc(DRAW_BUF_SIZE, MALLOC_CAP_DMA | MALLOC_CAP_INTERNAL); draw_buf_1 = heap_caps_malloc(DRAW_BUF_SIZE, MALLOC_CAP_SPIRAM); This way you move the weight of the drawing buffer from DRAM to PSRAM and the DRAM memory is used only to execute the code. Change the loop like this: void loop() { static unsigned long lastUpdateMillis = 0; if (millis() - lastUpdateMillis >= 5) { lastUpdateMillis = millis(); // LVGL Task Handler lv_task_handler(); // LVGL Tick Interface unsigned int tickPeriod = millis() - lastTickMillis; lv_tick_inc(tickPeriod); lastTickMillis = millis(); } If you use a non-blocking timer with the millis() function LVGL will update every 5ms allowing for a much smoother display. Hope this helps.
Hi!Finally i've got it working on my little screen, but the lv_example_observer_4 shows just the tabs below (first, second, third) but i can't see anything...and the touch appears to be not working...suggestions? I will try to test the other examples in the video! PS: I've tested all the other examples and all are working except for the observer, the other one tested are : //lv_demo_benchmark(); //OK //lv_example_get_started_1(); //OK //lv_example_event_2(); //OK //lv_example_observer_4(); //Not working?!Touch unresponsive also?! //lv_example_table_1(); //OK //lv_example_list_2(); //OK //lv_example_anim_timeline_1(); //OK lv_example_anim_1(); //Mmmmh, pressing the switch button the animation works just at the beginning, if pressed again then the screen freeze...wtf?! I've tested the lv_example_switch_1, the switches are working ok. Maybe there is an issue with the animation associated to the text that appears and disappears in the lv_example_anim_1...really don't know the issue :/
Thank you. I have been trying to run the demo for a week and I was able to do it today. It was great to come across examples on the same day.
I love your videos
Please make a full playlist for lvgl 9
because it's very useful for iot on embedded
I heard lvgl and scoor line stereo doesn't collaborate together anymore
If it's true
Please make a full tutorial to design ui buy lvgl in vs code without SLS❤
Thank you. Your videos very helped to me 😆
Happy to help!
Thanks!
Thanks! I applied your method on ssd1963 7" lcd but touch not working
@@SportsHighlightsBhae What touch IC do you have in your SSD1963? XPT2046? FT5316?
Hi Man, can you make a video how to use it on Esp32? No matter what it always give errors for CYD as known "cheap yellow display"
It should be working fine. Please check this one. github.com/witnessmenow/ESP32-Cheap-Yellow-Display/tree/main/Examples/LVGL9
@@ThatProject you should make a repo about your followers projects. İ have made a energy analyzer with it. Happy to share the code! Your the best
@@thenextproblem8001 Have you checked my GitHub? github.com/0015/ThatProject
I've tested the observer 4 example, and on my ESP32 S3 the switching tab cause a freeze...always 😢
I had the same problem because I have an esp32 with 64Kb of volatile memory.
Two things must be done: move the weight from DRAM to PSRAM and use a non-blocking timer in the loop.
And you can solve it this way. Change the line code in this way:
//draw_buf_1 = heap_caps_malloc(DRAW_BUF_SIZE, MALLOC_CAP_DMA | MALLOC_CAP_INTERNAL);
draw_buf_1 = heap_caps_malloc(DRAW_BUF_SIZE, MALLOC_CAP_SPIRAM);
This way you move the weight of the drawing buffer from DRAM to PSRAM and the DRAM memory is used only to execute the code.
Change the loop like this:
void loop() {
static unsigned long lastUpdateMillis = 0;
if (millis() - lastUpdateMillis >= 5) {
lastUpdateMillis = millis();
// LVGL Task Handler
lv_task_handler();
// LVGL Tick Interface
unsigned int tickPeriod = millis() - lastTickMillis;
lv_tick_inc(tickPeriod);
lastTickMillis = millis();
}
If you use a non-blocking timer with the millis() function LVGL will update every 5ms allowing for a much smoother display. Hope this helps.
Which development board or display board is that? 1:09
It's WT32-SC01 Plus. ruclips.net/video/KPiDBOOTJ8g/видео.htmlsi=gxJ4pRZ67lJT6C44
Hi!Finally i've got it working on my little screen, but the lv_example_observer_4 shows just the tabs below (first, second, third) but i can't see anything...and the touch appears to be not working...suggestions?
I will try to test the other examples in the video!
PS:
I've tested all the other examples and all are working except for the observer, the other one tested are :
//lv_demo_benchmark(); //OK
//lv_example_get_started_1(); //OK
//lv_example_event_2(); //OK
//lv_example_observer_4(); //Not working?!Touch unresponsive also?!
//lv_example_table_1(); //OK
//lv_example_list_2(); //OK
//lv_example_anim_timeline_1(); //OK
lv_example_anim_1(); //Mmmmh, pressing the switch button the animation works just at the beginning, if pressed again then the screen freeze...wtf?!
I've tested the lv_example_switch_1, the switches are working ok. Maybe there is an issue with the animation associated to the text that appears and disappears in the lv_example_anim_1...really don't know the issue :/
That's weird. LVGL recently updated to 9.1.0. Still having this issue?