mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-28 05:26:18 +08:00
chore(docs): describe the directory layout for Arduino
This commit is contained in:
committed by
GitHub
parent
27fbf3c0e6
commit
f8b29c5b6c
@@ -35,6 +35,16 @@ LVGL has its own configuration file called `lv_conf.h`. When LVGL is installed,
|
|||||||
4. Set the color depth of you display in `LV_COLOR_DEPTH`
|
4. Set the color depth of you display in `LV_COLOR_DEPTH`
|
||||||
5. Set `LV_TICK_CUSTOM 1`
|
5. Set `LV_TICK_CUSTOM 1`
|
||||||
|
|
||||||
|
Finally the layout with `lv_conf.h` should look like this:
|
||||||
|
```
|
||||||
|
arduino
|
||||||
|
|-libraries
|
||||||
|
|-lvgl
|
||||||
|
|-other_lib_1
|
||||||
|
|-other_lib_2
|
||||||
|
|-lv_conf.h
|
||||||
|
```
|
||||||
|
|
||||||
## Initialize and run LVGL
|
## Initialize and run LVGL
|
||||||
|
|
||||||
Take a look at [LVGL_Arduino.ino](https://github.com/lvgl/lvgl/blob/master/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino) to see how to initialize LVGL.
|
Take a look at [LVGL_Arduino.ino](https://github.com/lvgl/lvgl/blob/master/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino) to see how to initialize LVGL.
|
||||||
|
|||||||
Reference in New Issue
Block a user