Add the 4.37inch e-Paper (G) C program and fix.
This commit is contained in:
parent
77c499d749
commit
7431785a9c
20 changed files with 575 additions and 197 deletions
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue