Micropython version is 1.10
Micropython + lvgl
For information abound Micropython lvgl bindings please refrer to lv_bindings/README.md
Build Instructions
sudo apt-get install build-essential libreadline-dev libffi-dev git pkg-config libsdl2-2.0-0 libsdl2-devgit clone --recurse-submodules https://github.com/kisvegabor/lv_mpy.gitcd ./micropython/ports/unixmake axtlsmake./micropython
Super Simple Example
Test code to craete a button and a label:
>>> import lvgl
>>> btn = lvgl.btn(lvgl.scr_act())
>>> btn.align(lvgl.scr_act(), lvgl.ALIGN.CENTER, 0, 0)
>>> label = lvgl.label(btn)
>>> label.set_text("Button")
More information
More info about LittlevGL:
- Website https://littlevgl.com
- GitHub: https://github.com/amirgon/lvgl
More info about lvgl Micropython bindings:
Discussions about the Microptyhon binding: https://github.com/littlevgl/lvgl/issues/557
More info about the unix port: https://github.com/micropython/micropython/wiki/Getting-Started#debian-ubuntu-mint-and-variants
Description
Languages
C
89%
Python
8.9%
Makefile
1.1%
CMake
0.4%
Shell
0.3%
Other
0.3%