fix: increase default value of LV_MEM_SIZE for lv_demo_widgets #3057 (#3058)

* fix: increase default value of LV_MEM_SIZE for demo:widgets #3057

* Update demos/widgets/lv_demo_widgets.c

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
This commit is contained in:
Gabriel Wang
2022-01-29 13:34:08 +00:00
committed by GitHub
parent b34fe9ed8b
commit 7f4cde9388
3 changed files with 15 additions and 2 deletions

View File

@@ -53,11 +53,20 @@
## Demos
### Widgets
Shows how the widgets look like out of the box using the built-in material theme.  
Shows how the widgets look like out of the box using the built-in material theme.
See in [lv_demo_widgets](https://github.com/lvgl/lv_examples/tree/master/src/lv_demo_widgets) folder.
<img src="https://github.com/lvgl/lv_examples/blob/master/src/lv_demo_widgets/screenshot1.png?raw=true" width=600px alt="Basic demo to show the widgets of LVGL">
For running this demo properly, please make sure **LV_MEM_SIZE** is at least **38KB** (and **48KB** is recommended):
```c
#define LV_MEME_SIZE (38ul * 1024ul)
```
### Music player
The music player demo shows what kind of modern, smartphone-like user interfaces can be created on LVGL. It works the best with display with 480x272 or 272x480 resolution.