fix: buffer data error

This commit is contained in:
reece
2022-06-26 17:10:27 +08:00
parent ce37997642
commit 3542e3379f
4 changed files with 5 additions and 2 deletions

Binary file not shown.

View File

@@ -35,8 +35,8 @@ const char *BLE_conn_string[] = {"BLE 0", "BLE 1"};
RAM uint8_t epd_temperature_is_read = 0;
RAM uint8_t epd_temperature = 0;
uint8_t epd_buffer[epd_buffer_size];
uint8_t epd_temp[epd_buffer_size]; // for OneBitDisplay to draw into
RAM uint8_t epd_buffer[epd_buffer_size];
RAM uint8_t epd_temp[epd_buffer_size]; // for OneBitDisplay to draw into
OBDISP obd; // virtual display structure
TIFFIMAGE tiff;

View File

@@ -68,6 +68,7 @@ Firmware CRC32: 0xe62d501e
- [x] 支持设置年月日
- [x] web 支持画图编辑,直接上传图片,黑白抖动算法
- [x] 三色抖动算法、设备端三色显示支持,蓝牙传输支持
- [x] epd buffer刷新后 数据异常(左或右偶尔有黑条)?
### 计划新增
- [ ] 安卓端控制器

View File

@@ -504,6 +504,8 @@
<button type="button" onclick="triggerRxTxCmd('e102')" title="点击该按钮, 切换为时钟模式">设置为时钟模式2</button>
<button type="button" onclick="clearScreen('00')">清屏全黑</button>
<button type="button" onclick="clearScreen('ff')">清屏全白</button>
<button type="button" onclick="triggerEpdCmd('0101')">刷新屏幕(图片模式全屏更新)</button>
<button type="button" onclick="triggerEpdCmd('0100')">刷新屏幕(图片模式局部更新)</button>
<br><br>
<h3>上传图片到屏幕</h3>