BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lvgl
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
lvgl
Commits
7ab323cd
Commit
7ab323cd
authored
May 15, 2017
by
Gabor Kiss-Vamosi
Committed by
GitHub
May 15, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
55a5d46f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
README.md
README.md
+8
-8
No files found.
README.md
View file @
7ab323cd
...
...
@@ -55,15 +55,15 @@ See the [example HAL](https://github.com/littlevgl/hal) repository!
5.
Copy
*lvgl/lv_conf_templ.h*
as
**lv_conf.h**
and
*misc/misc_conf_templ.h*
as
**misc_conf.h**
to the projects root folder.
6.
In the
*
_conf.h files delete the first
`#if 0`
and its
`#endif`
at the end make the configurations
7.
In your
*main.c*
file include:
*
#include "misc/misc.h"
*
#include "misc/os/ptask.h"
*
#include "lvgl/lvgl.h"
*
#include "misc/misc.h"
*
#include "misc/os/ptask.h"
*
#include "lvgl/lvgl.h"
8.
In your
*main.c*
intialize:
*
**misc_init()**
;
*
your_systick_init();
*
your_disp_init();
*
your_indev_init();
*
**lvgl_init()**
;
*
**misc_init()**
;
*
your_systick_init();
*
your_disp_init();
*
your_indev_init();
*
**lvgl_init()**
;
10.
Create a label:
`lv_obj_t * label = lv_label_create(lv_scr_act(), NULL);`
11.
In the main
*while(1)*
call
`ptask_handler();`
and make a few milliseconds delay (e.g.
`your_delay_ms(5);`
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment