MicroPython examples for V7?

Hi,

It’s excited to see the development of the LVGL moving forward so quickly, however it’s a pity that there’s still no examples for MicroPython for V7, any plans? I remember seeing somewhere that the V8 is soon to be released, any timeline? Just don’t leave us MicroPython users behind! :slight_smile:

Hi @dukeduck!

Micropython is supported on v7 and I’m planning to keep supporting it on v8.

There is an effort led by @uraich to create many Micropython examples for LVGL v7 and add them to the official LVGL docs.

See:

Also, the examples under the micropython binding examples directory are all compatible with v7.

If you have any specific questions, you are welcome to send them in the forum!

Thanks @amirgon! Great to know! I didn’t realize that there were examples on github already - I only checked the official docs.

I had worked with V6 and loved it a lot! Now I plan to start my new project with V7.

Keep the good work up!

Cheers,
Kaiyuan

1 Like

Hi,
While the examples Amir pointed you to, are ports from C to Python of the examples in the lv_examples repository, I am about to port further examples which I upload to https://github.com/uraich/lv_mpy_examples.
For the moment there are 4 examples which I want to run on the LiliGo t-watch 2020. You find them in the folder t-watch_examples. Then I am working on demos that were originally written for the ST7735 driver, which I also port to lvgl. You find a graphics_demo under st7735_demos. All these examples also work on the lvgl unix port

1 Like

Thanks for the effort @uraich. Kudo to you!

It will be great if the MicroPython examples will be added to https://docs.lvgl.io/ as well.

Coming soon. :wink:

1 Like

I had been working on an IoT course for the University of Cape Coast, Ghana, for which I ported the demos originally written for the ssd1351 controller to the st7735.
Now I try to port them to lv_micropython. These examples are quite a bit bigger and more evolved such that they don’t fit into lv_examples. If interested, here they are:
https://github.com/uraich/lv_mpy_examples/tree/main/st7735_demos
This is still “work in progress” and you may expect a few more demos being uploaded in the coming weeks.

1 Like

Hi @embeddedt,

Any plan to update the docs with the micropython examples soon? :slight_smile:

Soon™. There are a few more changes to make which I haven’t had time for yet.