add default value for color parameter
This commit is contained in:
parent
f21acab763
commit
85802dee4b
7 changed files with 7 additions and 7 deletions
|
|
@ -185,7 +185,7 @@ class EPD:
|
|||
self.send_data(image[i + j * int(self.width / 8)])
|
||||
self.TurnOnDisplay()
|
||||
|
||||
def Clear(self, color):
|
||||
def Clear(self, color=0xFF):
|
||||
self.SetWindow(0, 0, self.width - 1, self.height - 1)
|
||||
for j in range(0, self.height):
|
||||
self.SetCursor(0, j)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue