You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lvgl provides a big number of small example programs showing off lvgl features. Five years back, I had ported almost all of these examples to micropython. lvgl has changed in the meantime and of course the examples do not work any longer. Having bought an esp32s3 with 320x240 display recently I was interested to resurrect this old code.
I believe hat the micropython examples can help people starting off with the lvgl micropython binding.
The examples are structured to have a header.py file, containing the driver initialization (one file per hardware setup. I currently only have the setup for unix and my esp32s3 with ili9431 driver) the program proper and a trailer.py. To create an executable program you concatenate those 3 parts. Please have a look at the run_lvgl.sh script and at make_esp32.sh. Taking the header for unix, you can run the machine on your PC, taking the esp32 header, you create a program to be run on the esp32 hardware.
You find the examples here: https://github.com/uraich/lvgl_micropython_examples. For the moment this is pretty incomplete but there is already a considerable number of examples.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
lvgl provides a big number of small example programs showing off lvgl features. Five years back, I had ported almost all of these examples to micropython. lvgl has changed in the meantime and of course the examples do not work any longer. Having bought an esp32s3 with 320x240 display recently I was interested to resurrect this old code.
I believe hat the micropython examples can help people starting off with the lvgl micropython binding.
The examples are structured to have a header.py file, containing the driver initialization (one file per hardware setup. I currently only have the setup for unix and my esp32s3 with ili9431 driver) the program proper and a trailer.py. To create an executable program you concatenate those 3 parts. Please have a look at the run_lvgl.sh script and at make_esp32.sh. Taking the header for unix, you can run the machine on your PC, taking the esp32 header, you create a program to be run on the esp32 hardware.
You find the examples here: https://github.com/uraich/lvgl_micropython_examples. For the moment this is pretty incomplete but there is already a considerable number of examples.
Beta Was this translation helpful? Give feedback.
All reactions