Update epd2in7.py

This commit is contained in:
Brian Y 2019-12-02 22:00:39 -05:00
commit f961e9bec0

View file

@ -172,7 +172,7 @@ class EPD:
def ReadBusy(self):
logging.debug("e-Paper busy")
while(epdconfig.digital_read(self.busy_pin) == 0): # 0: idle, 1: busy
while(epdconfig.digital_read(self.busy_pin) == 1): # 0: idle, 1: busy
epdconfig.delay_ms(200)
logging.debug("e-Paper busy release")