From 14d2c79a88a02d096ccb1ad51a5c8ca8973ccc44 Mon Sep 17 00:00:00 2001 From: Brian Y Date: Tue, 10 Dec 2019 23:57:04 -0500 Subject: [PATCH] modified sleep hex --- .../python/lib/waveshare_epd/epd2in7.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py b/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py index 4bbb5d4..1b12d33 100644 --- a/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py +++ b/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py @@ -548,12 +548,12 @@ class EPD: self.ReadBusy() def sleep(self): - self.send_command(0X50) + self.send_command(0x50) self.send_data(0xf7) - self.send_command(0X02) # power off + self.send_command(0x02) # power off self.ReadBusy() - self.send_command(0X07) # deep sleep - self.send_data(0xA5) + self.send_command(0x07) # deep sleep + self.send_data(0xa5) epdconfig.module_exit() ### END OF FILE ###