fixed issue #22 and #21

This commit is contained in:
mrmcwethy 2019-05-29 16:44:08 -07:00
parent ecdede6041
commit a6f24ebd24

View file

@ -152,6 +152,10 @@ class Adafruit_EPD: # pylint: disable=too-many-instance-attributes, too-many-pub
self._cs.value = True self._cs.value = True
self.spi_device.unlock() self.spi_device.unlock()
else:
if self.sram:
self.sram.cs_pin.value = True
self.update() self.update()