|
|
5 jaren geleden | |
|---|---|---|
| .. | ||
| .github | 7 jaren geleden | |
| docs | 7 jaren geleden | |
| lv_core | 5 jaren geleden | |
| lv_draw | 5 jaren geleden | |
| lv_font | 5 jaren geleden | |
| lv_gpu | 5 jaren geleden | |
| lv_hal | 5 jaren geleden | |
| lv_misc | 5 jaren geleden | |
| lv_themes | 5 jaren geleden | |
| lv_widgets | 5 jaren geleden | |
| .gitignore | 7 jaren geleden | |
| README.md | 7 jaren geleden | |
| SConscript | 5 jaren geleden | |
| licence.txt | 7 jaren geleden | |
| lv_api_map.h | 5 jaren geleden | |
| lv_conf_internal.h | 5 jaren geleden | |
| lv_conf_kconfig.h | 5 jaren geleden | |
| lv_conf_templ.h | 6 jaren geleden | |
| lvgl.h | 5 jaren geleden | |
LittlevGL provides everything you need to create a Graphical User Interface (GUI) on embedded systems with easy-to-use graphical elements, beautiful visual effects and low memory footprint.
https://littlevgl.com
Check out the References where LittlevGL was used. You can add your project too!
In the simplest case you need 5 things:
lv_tick_inc(x) every x milliseconds in a Timer or Task (x should be between 1 and 10)lv_conf_templ.h as lv_conf.h and set at least LV_HOR_RES, LV_VER_RES and LV_COLOR_DEPTH.lv_task_handler() periodically every few milliseconds.
For a detailed description visit https://github.com/littlevgl/lvgl/wiki/Porting
Or check the Porting tutorialgit clone https://github.com/littlevgl/lvgl.git#if 0 and its #endif. Leave the default configuration for the first try.lv_obj_t * label = lv_label_create(lv_scr_act(), NULL);lv_task_handler(); and make a few milliseconds delay (e.g. my_delay_ms(5);)You can test the graphics library in a PC simulator, if you don't have an embedded hardware. The simulator uses SDL2 library to emulate a display on your monitor and a touch pad with your mouse.
There is a pre-configured PC project for Eclipse CDT in this repository: https://github.com/littlevgl/pc_simulator
See CONTRIBUTING.md
If you are pleased with this graphics library, found it useful, or are happy with the support you got, please help its further development: