lv_binding_micropython
lv_binding_micropython copied to clipboard
LVGL binding for MicroPython
I'm adding matrix type to [LVGL](https://github.com/lvgl/lvgl) project. I added a matrix type and its c code declaration is: ``` typedef struct { float m[3][3]; } lv_matrix_t; ``` But A type...
I have worked done this job, but need time to make it up to github.(now is i8080, next is rgb) also, i just made the between lcd_hal and lv_micropython(focus on...
When a struct is used by a function indirectly, through a chain of typedefs, it should be generated. See https://github.com/lvgl/lv_binding_micropython/issues/279#issuecomment-1590454389
As the title states the Simulator doesn't load fonts from the file system https://sim.lvgl.io/v9.0/micropython/ports/javascript/index.html?script_startup=https://raw.githubusercontent.com/lvgl/lvgl/091141885abb5fbfbf91d6b8b925d429722a5814/examples/header.py&script=https://raw.githubusercontent.com/lvgl/lvgl/091141885abb5fbfbf91d6b8b925d429722a5814/examples/widgets/roller/lv_example_roller_3.py
https://sim.lvgl.io/v9.0/micropython/ports/javascript/index.html?script_startup=https://raw.githubusercontent.com/lvgl/lvgl/e26a46c43c23e91198318659c8214cc34be5cee2/examples/header.py&script=https://raw.githubusercontent.com/lvgl/lvgl/e26a46c43c23e91198318659c8214cc34be5cee2/examples/get_started/lv_example_get_started_3.py&script_direct=a20481aa27d8b699a38d15fccb3dea978c3d5131 lv.color_t methods not returning the types they are supposed to be. ``` static inline lv_color1_t lv_color_to1(lv_color_t color) ** exists but the return type is not lv_color1_t ** static inline...
I am writing a script that reads the documentation files and generates stub files. These stub files can then be added to an IDE which would provide type hinting and...
The current amount of allocated memory that the simulator has been coded with is a pretty limiting thing. There is only 1MB of memory that it has been set up...
I was trying to test the newer master branch and encountered following issue when running the example in the readme. import lvgl as lv lv.init() from lv_utils import event_loop Traceback...
See: https://forum.lvgl.io/t/gradient-is-not-working-with-lv-draw-rect-dsc-t/10612 ```python rect_dsc.bg_grad.stops[0].color = lv.palette_main(lv.PALETTE.RED) rect_dsc.bg_grad.stops[1].color = lv.palette_main(lv.PALETTE.BLUE) ``` does not work, because stops is converted to list and does not update the original array upon update. A workaround...
error: ``` Traceback (most recent call last): File "", line 1, in File "/lib/myfont/myfont.py", line 61, in readchr File "/lib/myfont/myfont.py", line 31, in mapaddr NameError: name 'items' isn't defined ```...