Replies: 8 comments
-
Hi @mira1476! We appreciate you submitting your first issue for our open-source project. 🌟 Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙 |
Beta Was this translation helpful? Give feedback.
-
@mira1476 can you include your code within the issue please? Sharing it via a pdf is somewhat strange. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@mira1476 You can include code directly within your issue as code block, check examples for markdown on that. You start and finish the code block with ```. I edited your inital comment to include the code, but please in the future try to do this directly. As for your code a few things to note:
If you see that you still got some breathing room for your CPU usage you can also try and increase the display refresh period:
|
Beta Was this translation helpful? Give feedback.
-
@faxe1008 Thank you for all your advices, I also tried this animation with canvas and I didn’t really notice any change!
I didn't get this "You are missing unblanking of the display, for this to work with most displays" |
Beta Was this translation helpful? Give feedback.
-
the version with canvas
|
Beta Was this translation helpful? Give feedback.
-
Well I meant drawing onto a canvas not using it as a substitue for the line. Refer to https://docs.lvgl.io/8.4/widgets/core/canvas.html?highlight=canvas |
Beta Was this translation helpful? Give feedback.
-
Ok, thank you! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I contact you regarding a problem that I encounter with an animation of a snake created with LVGL and deployed with Zephyr. We noticed a drag behind and a shadow at the beginning of the snake during its movement, which gives a not very smooth effect to the animation.
you will find attached an image of the animation and the script main.pdf.
PS: got same issue also with or without adding this in the main function :
k_msleep(lv_task_handler()); or this k_sleep(k_MSEC(10));
Beta Was this translation helpful? Give feedback.
All reactions