1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

Merge pull request #381 from pfalcon/patch-1

README: Clarify lv_tick_inc() usage.
This commit is contained in:
Gabor Kiss-Vamosi 2018-08-28 07:43:06 +02:00 committed by GitHub
commit d4b8fab303
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,8 +32,8 @@ Homepage: https://littlevgl.com
* Documentation and API references online
## Porting
In the simplest case you need 4 things:
1. Call `lv_tick_inc(x)` in every `x` millisecods in a Timer or Task (`x` should be between 1 and 10)
In the simplest case you need 5 things:
1. Call `lv_tick_inc(x)` every `x` millisecods in a Timer or Task (`x` should be between 1 and 10)
2. Register a function which can **copy a pixel array** to an area of the screen.
3. Register a function which can **read an input device**. (E.g. touch pad)
4. Copy `lv_conf_templ.h` as `lv_conf.h` and set at least `LV_HOR_RES`, `LV_VER_RES` and `LV_COLOR_DEPTH`.