Exemplo n.º 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)
Exemplo n.º 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")
Exemplo n.º 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)
Exemplo n.º 4
0
 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)