parent
cfde106b75
commit
fb35d846dd
1 changed files with 3 additions and 3 deletions
|
|
@ -535,9 +535,9 @@ class EPD:
|
|||
return buf
|
||||
|
||||
def display(self, image):
|
||||
# self.send_command(0x10)
|
||||
# for i in range(0, int(self.width * self.height / 8)):
|
||||
# self.send_data(0xFF)
|
||||
self.send_command(0x10)
|
||||
for i in range(0, int(self.width * self.height / 8)):
|
||||
self.send_data(0xFF)
|
||||
self.send_command(0x13)
|
||||
for i in range(0, int(self.width * self.height / 8)):
|
||||
self.send_data(image[i])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue