From 8e2b0e7a55dd8adba78c26d100570dd41d1badb0 Mon Sep 17 00:00:00 2001 From: mrmcwethy Date: Wed, 29 May 2019 16:29:30 -0700 Subject: [PATCH] Fixed issue #22 and issue #21 by setting SRAM CS to True after display() update. --- adafruit_epd/epd.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/adafruit_epd/epd.py b/adafruit_epd/epd.py index 07492ae..303f2df 100644 --- a/adafruit_epd/epd.py +++ b/adafruit_epd/epd.py @@ -152,6 +152,10 @@ def display(self): # pylint: disable=too-many-branches self._cs.value = True self.spi_device.unlock() + else: + if self.sram: + self.sram.cs_pin.value = True + self.update()