rt-thread-official/bsp/raspberry-pico/applications/lvgl/README.md

55 lines
1.4 KiB
Markdown
Raw Normal View History

2022-03-14 21:18:14 +08:00
# How to Run LVGL on Raspberry Pi PICO
2022-03-14 16:29:50 +08:00
2022-03-14 18:06:59 +08:00
[中文页](README_zh.md) |
2022-03-14 16:29:50 +08:00
## Hardware:
- [Raspberry Pi PICO](https://www.raspberrypi.com/products/raspberry-pi-pico/)
- [TFT-SPI ST7789](https://pdf1.alldatasheet.com/datasheet-pdf/view/1170800/SITRONIX/ST7789H2.html)
- Single chip TFT-LCD Controller/Driver with On-chip Frame Memory (FM)
- Display Resolution: 240*RGB (H) *320(V)
- Frame Memory Size: 240 x 320 x 18-bit = 1,382,400 bits
- LCD Driver Output Circuits
\- Source Outputs: 240 RGB Channels
\- Gate Outputs: 320 Channels
\- Common Electrode Output
## Software:
- Opensource [RT-Thread IoT OS](https://www.rt-thread.io/) Project
- [RT-Thread Studio](https://www.rt-thread.io/studio.html) IDE (Free)
- Opensource [LVGL](https://lvgl.io/) Project
## Enable LVGL for LCD
2022-03-14 18:06:59 +08:00
![](./img_en/1.png)
2022-03-14 16:29:50 +08:00
## Configure Screen Parameter
Select the screen size according to your project requirements (This tutorial is using ST7789).
2022-03-14 18:06:59 +08:00
<img src="./img_en/2.png" style="zoom:80%;" />
2022-03-14 16:29:50 +08:00
## LVGL Display Interface Adopting
2022-03-14 18:06:59 +08:00
<img src="./img_en/3.png" style="zoom:80%;" />
2022-03-14 16:29:50 +08:00
2022-03-14 18:06:59 +08:00
![]()<img src="./img_en/4.png" alt="7" style="zoom: 80%;" />
2022-03-14 16:29:50 +08:00
2022-03-14 18:06:59 +08:00
<img src="./img_en/5.png" style="zoom:80%;" />
2022-03-14 16:29:50 +08:00
## Presentation
2022-03-14 16:39:51 +08:00
<iframe src="//player.bilibili.com/player.html?aid=893079529&bvid=BV1oP4y1E7Md&cid=481212104&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>