fix an issue with im_colour parameter missing
This commit is contained in:
parent
83b20af262
commit
49f78f3090
@ -44,7 +44,7 @@ class Display:
|
|||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
raise Exception('SPI could not be found. Please check if SPI is enabled')
|
raise Exception('SPI could not be found. Please check if SPI is enabled')
|
||||||
|
|
||||||
def render(self, im_black: Image, im_colour:Image or None) -> None:
|
def render(self, im_black: Image, im_colour:Image or None=None) -> None:
|
||||||
"""Renders an image on the selected E-Paper display.
|
"""Renders an image on the selected E-Paper display.
|
||||||
|
|
||||||
Initlializes the E-Paper display, sends image data and executes command
|
Initlializes the E-Paper display, sends image data and executes command
|
||||||
|
Loading…
Reference in New Issue
Block a user