From 0ccee6193112776bb76acbe26229ecff5655f0c1 Mon Sep 17 00:00:00 2001 From: Brian Y Date: Sun, 15 Dec 2019 19:51:07 -0500 Subject: [PATCH] added POWER_OFF command to sleep function --- RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py b/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py index 489ad95..a1ccc9b 100644 --- a/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py +++ b/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py @@ -635,6 +635,8 @@ class EPD: # self.send_data(0xa5) # self.ReadBusy() # epdconfig.module_exit() + self.send_command(POWER_OFF) + self.ReadBusy() self.send_command(DEEP_SLEEP) self.send_data(0xA5) self.ReadBusy()