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)
def ReadBusy(self): logging.debug("e-Paper busy") self.send_command(0x71) busy = epdconfig.digital_read(self.busy_pin) busy = not (busy & 0x01) while (busy): self.send_command(0x71) busy = epdconfig.digital_read(self.busy_pin) busy = not (busy & 0x01) epdconfig.delay_ms(800) logging.debug("e-Paper busy release")
def ReadBusy(self): logging.debug("e-Paper busy") while(epdconfig.digital_read(self.busy_pin) == 0): # 0: idle, 1: busy self.send_command(0x71) epdconfig.delay_ms(100) logging.debug("e-Paper busy release")
def ReadBusy(self): logging.debug("e-Paper busy") while (epdconfig.digital_read(self.busy_pin) == 0): epdconfig.delay_ms(100) logging.debug("e-Paper busy release")
def ReadBusy(self): while (epdconfig.digital_read(self.busy_pin) == 1): # 0: idle, 1: busy epdconfig.delay_ms(100)