diff --git a/Readme.txt b/Readme.txt index 20bb9b3..dc5f250 100644 --- a/Readme.txt +++ b/Readme.txt @@ -70,10 +70,12 @@ Flash的0x39000处存放有墨水屏所使用的IO的信息: Flash的0x3a000处存放有墨水屏的分辨率等信息: + 00 25 00 00 92 fa a8 fe 00 01 80 00 28 01 04 00 + 0080 0128 128x296 BWR 40 1f 00 00 f0 70 18 01 00 01 7a 00 fa 00 fc 07 - 007a 00fa 122x250 + 007a 00fa 122x250 BWR c4 0a 00 00 1a 4f ae 5a 00 00 68 00 d4 00 04 00 - 0068 00d4 104x212 + 0068 00d4 104x212 BW 原版的固件,不知道什么原因,无法用蓝牙搜索到。否则可以无损更新固件了(但大多数价签的电池都是没电的,还是得拆开)。 diff --git a/src/epd/epd.c b/src/epd/epd.c index ec3de90..7f3ed7f 100644 --- a/src/epd/epd.c +++ b/src/epd/epd.c @@ -14,6 +14,10 @@ int scr_padding; int update_mode; int lut_size; +int detect_w = 104; +int detect_h = 212; +int detect_mode = EPD_BW; + // 窗口参数 int win_w; @@ -356,6 +360,7 @@ void epd_screen_update(void) for(i=0; i