diff --git a/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py b/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py index 21cfd77..c7b4e3c 100644 --- a/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py +++ b/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py @@ -549,12 +549,15 @@ class EPD: self.ReadBusy() def sleep(self): - self.send_command(0x50) - self.send_data(0xf7) - self.send_command(0x02) # power off - self.ReadBusy() - self.send_command(0x07) # deep sleep - self.send_data(0xa5) + # self.send_command(0x50) + # self.send_data(0xf7) + # self.send_command(0x02) # power off + # self.ReadBusy() + # self.send_command(0x07) # deep sleep + # self.send_data(0xa5) + # self.ReadBusy() + # epdconfig.module_exit() + self.send_command(DEEP_SLEEP) self.ReadBusy() epdconfig.module_exit() ### END OF FILE ###