update README

This commit is contained in:
Shuanglei Tao
2025-04-08 14:50:00 +08:00
parent 61fc439e0e
commit c2897a97a0
4 changed files with 14 additions and 11 deletions

View File

@@ -11,7 +11,7 @@
- 老五 4.2 寸价签,黑白双色版本
```
MCUnRF51822
MCUnrf51822
RAM16K
ROM128K
@@ -25,7 +25,7 @@
- 老五 4.2 寸价签,黑白红三色版本
```
MCUnRF51802
MCUnrf51802
RAM16K
ROM256K
@@ -37,7 +37,7 @@
![](docs/images/2.jpg)
- 其它基于 `nrf51822` / `nrf51802` / `nrf52811` / `nrf52810` 的价签,只要你有能力测量出引脚配置,且屏幕驱动在支持列表内,那就可以支持
- 其它基于 `nrf51822` / `nrf51802` / `nrf52811` / `nrf52810` 的价签,理论上都支持
## 上位机
@@ -76,22 +76,25 @@
上位机支持的指令列表(指令和参数全部要使用十六进制):
- 驱动相关:
- `00`+引脚配置: 设置引脚映射(见上面引脚配置)
- `01`+驱动 ID: 驱动初始化
- `00`+`引脚配置`: 设置引脚映射(见上面引脚配置)
- `01`+`驱动ID`: 驱动初始化
- `02`: 清空屏幕(把屏幕刷为白色)
- `03`+命令: 发送命令到屏幕(请参考屏幕主控手册)
- `04`+数据: 写入数据到屏幕内存(同上)
- `03`+`命令`: 发送命令到屏幕(请参考屏幕主控手册)
- `04`+`数据`: 写入数据到屏幕内存(同上)
- `05`: 刷新屏幕(显示已写入屏幕内存的数据)
- `06`: 屏幕睡眠
- 日历模式:
- `20`+UNIX 时间戳: 同步时间并开启日历模式
- `20`+`UNIX时间戳`+`时区`: 同步时间并开启日历模式
- 系统相关:
- `90`+配置: 写入自定义配置(重启生效)
- `90`+`配置数据`: 写入自定义配置(重启生效)
- `91`: 系统重启
- `92`: 系统睡眠
- `99`: 恢复默认设置并重启
## 致谢
- 屏幕驱动代码来自微雪 [E-Paper Shield](https://www.waveshare.net/wiki/E-Paper_Shield)
- 网页版上位机代码来自 [atc1441/ATC_TLSR_Paper](https://github.com/atc1441/ATC_TLSR_Paper)
本项目使用或参考了以下项目的代码:
- [ZinggJM/GxEPD2](https://github.com/ZinggJM/GxEPD2)
- [waveshareteam/e-Paper](https://github.com/waveshareteam/e-Paper)
- [atc1441/ATC_TLSR_Paper](https://github.com/atc1441/ATC_TLSR_Paper)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 288 KiB

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 319 KiB

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 448 KiB

After

Width:  |  Height:  |  Size: 194 KiB