https://github.com/fbiego/wt32-dvd-video
https://github.com/fbiego/wt32-dvd-video
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fbiego/wt32-dvd-video
- Owner: fbiego
- Created: 2023-12-02T11:20:36.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-02T11:49:18.000Z (over 1 year ago)
- Last Synced: 2025-03-31T10:04:47.982Z (3 months ago)
- Language: C
- Size: 1.12 MB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wt32-lvgl-template
This is a template project for WT32-SC01 board for LVGL UI development.
You can compile this project as is without the UI files. Do this to ensure you have the correct display and lvgl settings.
Default build environment is `wt32-sc01-plus`
### SquareLine Studio
[`Download Link`](https://squareline.io/)
With SquareLine studio you can create ui using drag and drop. The source code can be exported for use on the hardware.
#### Create a project
- Don't use `-` in the project name
- Resolution `320 480` for portrait or `480 320` for landscape
- Color depth `16 bit swap`#### Exporting the UI
- Export the UI files from SquareLine to [`src/ui/`](https://github.com/fbiego/wt32-lvgl-template/tree/master/src/ui) folder
- In `include/main.h`, uncomment the line `// #define USE_UI` to use the exported UI files
- In `src/ui/ui.h`, change `#include "lvgl/lvgl.h"` to `#include "lvgl.h"`