| tag | e3883908a188e491bf40b01ffd16db5820c74d21 | |
|---|---|---|
| tagger | Gabor Kiss-Vamosi <kisvegabor@gmail.com> | Tue Feb 16 14:25:35 2021 |
| object | 524709472757405ac0eef8d6d002632526430df3 |
Release v7.10.1
| commit | 524709472757405ac0eef8d6d002632526430df3 | [log] [tgz] |
|---|---|---|
| author | Gabor Kiss-Vamosi <kisvegabor@gmail.com> | Tue Feb 16 14:25:31 2021 |
| committer | Gabor Kiss-Vamosi <kisvegabor@gmail.com> | Tue Feb 16 14:25:31 2021 |
| tree | 74ef92a9ed2881d156ae700d2a7923b198b907b0 | |
| parent | 11a2f82027deeef332f557bbacd3942d83ecdf26 [diff] |
Release v7.10.1
Basically, every modern controller (which is able to drive a display) is suitable to run LVGL. The minimal requirements are:
Note that the memory usage might vary depending on the architecture, compiler and build options.
Just to mention some platforms:
This list shows the recommended way of learning the library:
For more examples see the lv_examples repository.
lv_obj_t * btn = lv_btn_create(lv_scr_act(), NULL); /*Add a button to the current screen*/ lv_obj_set_pos(btn, 10, 10); /*Set its position*/ lv_obj_set_size(btn, 100, 50); /*Set its size*/ lv_obj_set_event_cb(btn, btn_event_cb); /*Assign a callback to the button*/ lv_obj_t * label = lv_label_create(btn, NULL); /*Add a label to the button*/ lv_label_set_text(label, "Button"); /*Set the labels text*/ ... void btn_event_cb(lv_obj_t * btn, lv_event_t event) { if(event == LV_EVENT_CLICKED) { printf("Clicked\n"); } }

Learn more about Micropython.
# Create a Button and a Label scr = lv.obj() btn = lv.btn(scr) btn.align(lv.scr_act(), lv.ALIGN.CENTER, 0, 0) label = lv.label(btn) label.set_text("Button") # Load the screen lv.scr_load(scr)
LVGL is an open project and contribution is very welcome. There are many ways to contribute from simply speaking about your project, through writing examples, improving the documentation, fixing bugs to hosing your own project under in LVGL.
For a detailed description of contribution opportunities visit the Contributing section of the documentation.