Example #1
0
 def ReadBusy(self):
     logging.debug("e-Paper busy")
     self.send_command(0x71)
     busy = epdconfig.digital_read(self.busy_pin)
     while (busy == 0):
         self.send_command(0x71)
         busy = epdconfig.digital_read(self.busy_pin)
     epdconfig.delay_ms(200)
Example #2
0
 def ReadBusy(self):
     logging.debug("e-Paper busy")
     while (epdconfig.digital_read(self.busy_pin) == 0):  # 0: idle, 1: busy
         epdconfig.delay_ms(100)
     logging.debug("e-Paper busy release")
Example #3
0
 def ReadBusy(self):
     self.send_command(0x71)
     while (epdconfig.digital_read(self.busy_pin) == 0):  # 0: idle, 1: busy
         self.send_command(0x71)
         epdconfig.delay_ms(100)
 def ReadBusy(self):
     logging.debug("e-Paper busy")
     busy = epdconfig.digital_read(self.busy_pin)
     while(busy == 1):
         busy = epdconfig.digital_read(self.busy_pin)
     epdconfig.delay_ms(200)