添加中文文档
|
@ -1,5 +1,7 @@
|
|||
# Get Raspberry Pi PICO Running on RT-Thread RTOS with an Opensource Light Versatile Graphics Library
|
||||
|
||||
[中文页](README_zh.md) |
|
||||
|
||||
## Hardware:
|
||||
|
||||
- [Raspberry Pi PICO](https://www.raspberrypi.com/products/raspberry-pi-pico/)
|
||||
|
@ -28,25 +30,25 @@
|
|||
|
||||
## Enable LVGL for LCD
|
||||
|
||||
![](./img_en/4.png)
|
||||
![](./img_en/1.png)
|
||||
|
||||
## Configure Screen Parameter
|
||||
|
||||
Select the screen size according to your project requirements (This tutorial is using ST7789).
|
||||
|
||||
<img src="./img_en/5.png" style="zoom:80%;" />
|
||||
<img src="./img_en/2.png" style="zoom:80%;" />
|
||||
|
||||
## LVGL Display Interface Adopting
|
||||
|
||||
<img src="./img_en/6.png" style="zoom:80%;" />
|
||||
<img src="./img_en/3.png" style="zoom:80%;" />
|
||||
|
||||
|
||||
|
||||
![]()<img src="./img_en/7.png" alt="7" style="zoom: 80%;" />
|
||||
![]()<img src="./img_en/4.png" alt="7" style="zoom: 80%;" />
|
||||
|
||||
|
||||
|
||||
<img src="./img_en/8.png" style="zoom:80%;" />
|
||||
<img src="./img_en/5.png" style="zoom:80%;" />
|
||||
|
||||
## Presentation
|
||||
|
||||
|
|
|
@ -0,0 +1,52 @@
|
|||
# Raspberry_pico 使用 RT-Thread 运行 lvgl
|
||||
|
||||
## 硬件参数
|
||||
|
||||
树莓派 pico :
|
||||
|
||||
* 双核 Arm Cortex-M0 + @ 133MHz
|
||||
* 芯片内置 264KB SRAM 和 2MB 的板载闪存
|
||||
* 通过专用 QSPI 总线支持最高 16MB 的片外闪存
|
||||
* DMA 控制器
|
||||
* 30 个 GPIO 引脚,其中 4 个可用作模拟输入
|
||||
|
||||
- 2 个 UART、2 个 SPI 控制器和 2 个 I2C 控制器
|
||||
|
||||
- 16 个 PWM 通道
|
||||
|
||||
更多详见:[树莓派中文站](https://pico.org.cn/)
|
||||
|
||||
树莓派拓展板:
|
||||
|
||||
* 屏幕:ST7789 SPI 接口
|
||||
|
||||
## 软件及环境:
|
||||
|
||||
- [RT-Thread IoT OS](https://www.rt-thread.io/) RT-Thread 物联网操作系统
|
||||
- [RT-Thread Studio](https://www.rt-thread.io/studio.html) IDE (免费版)
|
||||
- 开源的 [LVGL](https://lvgl.io/) 图形引擎
|
||||
|
||||
## 使能 LVGL for LCD
|
||||
|
||||
![](./img/1.png)
|
||||
|
||||
## 配置屏幕参数
|
||||
|
||||
<img src="./img/2.png" style="zoom:80%;" />
|
||||
|
||||
## LVGL 显示接口对接
|
||||
|
||||
<img src="./img/3.png" style="zoom:80%;" />
|
||||
|
||||
|
||||
|
||||
![]()<img src="./img/4.png" alt="7" style="zoom:80%;" />
|
||||
|
||||
|
||||
|
||||
<img src="./img/5.png" style="zoom:80%;" />
|
||||
|
||||
## 效果展示
|
||||
|
||||
<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: 12 KiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 117 KiB |
After Width: | Height: | Size: 74 KiB |
After Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 87 KiB |
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 122 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 75 KiB |
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 122 KiB |
Before Width: | Height: | Size: 75 KiB |
Before Width: | Height: | Size: 60 KiB |