Пример #1
0
    def sleep(self):
        self.send_command(0x02)  # POWER_OFF
        self.ReadBusy()
        self.send_command(0x07)  # DEEP_SLEEP
        self.send_data(0xA5)  # check code

        epdconfig.module_exit()
Пример #2
0
    def sleep(self):
        self.send_command(0X02)  #  power off
        self.ReadBusy()
        self.send_command(0X07)  #  deep sleep
        self.send_data(0xA5)

        epdconfig.module_exit()
Пример #3
0
    def sleep(self):
        self.send_command(0X50)
        self.send_data(0xf7)
        self.send_command(0X02)
        self.send_command(0X07)
        self.send_data(0xA5)

        epdconfig.module_exit()
Пример #4
0
 def Sleep(self):
     self.send_command(0x50)
     self.send_data(0xf7)
     self.send_command(0x02)
     self.ReadBusy()
     self.send_command(0x07)
     self.send_data(0xA5)
     epdconfig.delay_ms(200)
     epdconfig.module_exit()
Пример #5
0
    def sleep(self):
        self.send_command(0x22)  #POWER OFF
        self.send_data(0xC3)
        self.send_command(0x20)

        self.send_command(0x10)  #enter deep sleep
        self.send_data(0x01)
        epdconfig.delay_ms(100)

        epdconfig.module_exit()
Пример #6
0
    def sleep(self):
        self.send_command(0x50)  # VCOM_AND_DATA_INTERVAL_SETTING
        self.send_data(0x17)
        self.send_command(0x82)  # to solve Vcom drop
        self.send_data(0x00)
        self.send_command(0x01)  # power setting
        self.send_data(0x02)  # gate switch to external
        self.send_data(0x00)
        self.send_data(0x00)
        self.send_data(0x00)
        self.ReadBusy()

        self.send_command(0x02)  # power off

        epdconfig.module_exit()
Пример #7
0
 def sleep(self):
     self.send_command(0x10) # DEEP_SLEEP_MODE
     self.send_data(0x01)
     
     epdconfig.module_exit()