def sleep(self): self.send_command(0x02) # POWER_OFF self.ReadBusy() self.send_command(0x07) # DEEP_SLEEP self.send_data(0XA5) epdconfig.module_exit()
def sleep(self): self.send_command(0x10); #deep sleep self.send_data(0x01); epdconfig.module_exit()