update README

This commit is contained in:
Shuanglei Tao
2025-10-15 17:47:44 +08:00
parent 1ac6b8473f
commit 913ee75126
5 changed files with 56 additions and 36 deletions

View File

@@ -43,4 +43,4 @@ pacman -S make mingw-w64-x86_64-gcc
修改 GUI 目录下的代码后,重新执行上面的 make 命令编译即可。
> **注意:** GUI 目录下的代码不可依赖平台相关的东西,比如单片机特有的 API 接口,否则在 Windows 下编译会失败。正确的做法是:在调用 `DrawGUI(gui_data_t *data, buffer_callback draw, display_mode_t mode)` 函数前就把数据算好并放到 `gui_data_t` 里,然后通过 `data` 参数传进去。
> **注意:** GUI 目录下的代码不可依赖平台相关的东西,比如单片机特有的 API 接口,否则在 Windows 下编译会失败。正确的做法是:在调用 `DrawGUI` 函数前就把数据算好并放到 `gui_data_t` 里,然后通过 `data` 参数传进去。

45
docs/devices.md Normal file
View File

@@ -0,0 +1,45 @@
## 支持设备
只要是基于 `nrf51822` / `nrf51802` / `nrf52811` / `nrf52810` 的价签,理论上都支持。
下面列举几个适配了的价签驱动板。
### 老五 4.2 寸价签,黑白双色版本
- MCUnrf51822
- RAM16K
- ROM128K
- 驱动UC8176
- 屏幕引脚0508090A0B0C0D
- 线圈引脚07
![](images/1.jpg)
### 老五 4.2 寸价签,黑白红三色版本
- MCUnrf51802
- RAM16K
- ROM256K
- 驱动UC8176
- 屏幕引脚0A0B0C0D0E0F10
- 线圈引脚09
- LED引脚03/04/05 (有三个 LED任选一个使用
![](images/2.jpg)
### 思飞 52810
- MCUnrf52810
- RAM24K
- ROM192K
![](images/5.jpg)
### 盒马/阿里 52811
- MCUnrf52811
- RAM24K
- ROM192K
![](images/6.jpg)

BIN
docs/images/5.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 KiB

BIN
docs/images/6.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 KiB