add Raspberry-Pico-LVGL README.md
|
@ -0,0 +1,67 @@
|
||||||
|
# Get Raspberry Pi PICO Running on RT-Thread RTOS with an Opensource Light Versatile Graphics Library
|
||||||
|
|
||||||
|
## 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
|
||||||
|
|
||||||
|
## Add LVGL Software Package
|
||||||
|
|
||||||
|
* Double-click `RT-Thread Settings` to enter the configuration page.
|
||||||
|
|
||||||
|
![](.\img_en\1.png)
|
||||||
|
|
||||||
|
* Click `Add it now`
|
||||||
|
|
||||||
|
![](.\img_en\2.png)
|
||||||
|
|
||||||
|
* Choose the packages of LVGL and lv_music_demo
|
||||||
|
|
||||||
|
![](.\img_en\3.png)
|
||||||
|
|
||||||
|
## Enable LVGL for LCD
|
||||||
|
|
||||||
|
![](.\img_en\4.png)
|
||||||
|
|
||||||
|
## Configure Screen Parameter
|
||||||
|
|
||||||
|
Select the screen size according to your project requirements (This tutorial is using ST7789).
|
||||||
|
|
||||||
|
![](.\img_en\5.png)
|
||||||
|
|
||||||
|
## LVGL Display Interface Adopting
|
||||||
|
|
||||||
|
![](.\img_en\6.png)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
![]()![7](.\img_en\7.png)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
![](.\img_en\8.png)
|
||||||
|
|
||||||
|
## Presentation
|
||||||
|
|
||||||
|
<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>
|
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 93 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 87 KiB |
After Width: | Height: | Size: 122 KiB |
After Width: | Height: | Size: 75 KiB |
After Width: | Height: | Size: 60 KiB |