removed non-required epaper commands while initalising
This commit is contained in:
parent
2dc70f590d
commit
c94a2ff122
@ -30,9 +30,6 @@ 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')
|
||||||
|
|
||||||
self._epaper.init()
|
|
||||||
self._epaper.sleep()
|
|
||||||
|
|
||||||
def render(self, im_black, im_colour = None):
|
def render(self, im_black, im_colour = None):
|
||||||
"""Render an image on the epaper
|
"""Render an image on the epaper
|
||||||
im_colour is required for three-colour epapers"""
|
im_colour is required for three-colour epapers"""
|
||||||
|
Loading…
Reference in New Issue
Block a user