From fb35d846dd7884f80920b5d88fba15b71fccdffc Mon Sep 17 00:00:00 2001 From: Brian Y Date: Sun, 15 Dec 2019 21:57:42 -0500 Subject: [PATCH] Revert "removed DATA TRANSMISSION 1" This reverts commit cfde106b75e159e8d4c3084149a45aee828ff304. --- RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py b/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py index 156955c..a1ccc9b 100644 --- a/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py +++ b/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py @@ -535,9 +535,9 @@ class EPD: return buf def display(self, image): - # self.send_command(0x10) - # for i in range(0, int(self.width * self.height / 8)): - # self.send_data(0xFF) + self.send_command(0x10) + for i in range(0, int(self.width * self.height / 8)): + self.send_data(0xFF) self.send_command(0x13) for i in range(0, int(self.width * self.height / 8)): self.send_data(image[i])