Skip to content

Commit 0c36073

Browse files
committed
update post
1 parent 9ccd316 commit 0c36073

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

_posts/2021-01-15-play-with-2-13-inch-e-ink-display.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,11 @@ EPD_2IN13_Display(BlackImage);
686686
阅读对应函数得知,这里创建了一个 `BlackImage` 字节数组做墨水屏的 framebuffer. 所有的绘图操作都只对这个 framebuffer 进行,
687687
不和设备进行交互,直到调用 Display 才会进行实际的设备交互。
688688
689+
framebuffer 在 Display 被调用时,按照驱动芯片所设定的方向,比如按行,按列的方式,
690+
一个个字节被从 MCU 传输到驱动芯片的内部的“显存”中,随后执行 LUT 更新逻辑。
691+
驱动芯片会对比像素点的当前状态和目标状态,执行对应的 LH, HL, LL, HH 波形。
692+
最终像素出现在屏幕上,完成显示。
693+
689694
### Next
690695
691696
之后抽时间写写灰度显示相关的折腾过程。

0 commit comments

Comments
 (0)