Add the 4.37inch e-Paper (G) C program and fix.

This commit is contained in:
SSYYL 2022-08-15 19:49:22 +08:00
commit 7431785a9c
20 changed files with 575 additions and 197 deletions

View file

@ -210,7 +210,7 @@ class EPD:
self.send_command(0x10)
for j in range(0, Height):
for i in range(0, Width):
self.send_data(image[i + j * Width])
self.send_data(image[i + j * Width])
self.TurnOnDisplay()
def Clear(self, color=0x55):

View file

@ -225,7 +225,7 @@ class EPD:
self.send_command(0x10)
for j in range(0, Height):
for i in range(0, Width):
self.send_data(color)
self.send_data(color)
self.TurnOnDisplay()