From b8c6783207ce8060a25cddb730edd63ee72abfd3 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Sun, 3 Mar 2019 08:13:13 +0100 Subject: [PATCH] Update README.md --- README.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index cadf11e16..8ffb2a691 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ Choose a project with your favourite IDE: ### Porting to an embedded hardware In the most simple case you need to do these steps: 1. Copy `lv_conf_templ.h` as `lv_conf.h` next to `lvgl` and set at least `LV_HOR_RES`, `LV_VER_RES` and `LV_COLOR_DEPTH`. -2. Call `lv_tick_inc(x)` every `x` milliseconds **in a Timer or Task** (`x` should be between 1 and 10) +2. Call `lv_tick_inc(x)` every `x` milliseconds **in a Timer or Task** (`x` should be between 1 and 10). It is required for the internal timing of LittlevGL. 3. Call `lv_init()` 4. Register a function which can **copy a pixel array** to an area of the screen: ```c @@ -117,7 +117,7 @@ bool touchpad_read(lv_indev_data_t * data) return false; /*Return `false` because we are not buffering and no more data to read*/ } ``` -6. Call `lv_task_handler()` periodically every few milliseconds in the main `while(1)` loop, in Timer interrupt or in an Operation system task. +6. Call `lv_task_handler()` periodically every few milliseconds in the main `while(1)` loop, in Timer interrupt or in an Operation system task. It will redraw the screen if required, handle input devices etc. For a detailed description check the [Documentation](https://docs.littlevgl.com/#Porting) or the [Porting tutorial](https://github.com/littlevgl/lv_examples/blob/master/lv_tutorial/0_porting/lv_tutorial_porting.c) @@ -180,9 +180,7 @@ lv_btn_set_ink_out_time(btn, 300); #### Use LittlevGL from Micropython ```python - # Create a Button and a Label - scr = lv.obj() btn = lv.btn(scr) btn.align(lv.scr_act(), lv.ALIGN.CENTER, 0, 0) @@ -190,16 +188,16 @@ label = lv.label(btn) label.set_text("Button") # Load the screen - lv.scr_load(scr) ``` Check out the [Documentation](https://docs.littlevgl.com/) for more! ### Contributing -To ask questions and discuss topics we use [GitHub's Issue tracker](https://github.com/littlevgl/lvgl/issues). -You contribute in several ways: -- **Answer other's question** click the Watch button on the top to get notified about the issues +To ask questions please use the [Forum](https://forum.littlevgl.com). +FOr development related things (bug reports, feature suggestions) use [GitHub's Issue tracker](https://github.com/littlevgl/lvgl/issues). +You can contribute in several ways: +- **Answer other's question** in the Forum - **Report and/or fix bugs** using the issue tracker and in Pull-request - **Suggest and/or implement new features** using the issue tracker and in Pull-request - **Improve and/or translate the documentation** learn more [here](https://github.com/littlevgl/docs)