Add 4.37inch e-Paper (G) STM32 program and fix some bugs.

This commit is contained in:
SSYYL 2022-08-16 16:59:55 +08:00
commit 77accf11dd
32 changed files with 4453 additions and 1186 deletions

View file

@ -177,7 +177,7 @@ void EPD_3IN0G_Clear(UBYTE color)
EPD_3IN0G_SendCommand(0x10);
for (UWORD j = 0; j < Height; j++) {
for (UWORD i = 0; i < Width; i++) {
EPD_3IN0G_SendData(color);
EPD_3IN0G_SendData((color << 6) | (color << 4) | (color << 2) | color);
}
}