From a41858d39dfb5f193b86172a98f33594f8eafe7c Mon Sep 17 00:00:00 2001 From: Brian Y Date: Mon, 2 Dec 2019 22:08:10 -0500 Subject: [PATCH] Revert "Update epd2in7.py" This reverts commit f961e9bec0ab010b9514fc46229350c55c566d4c. --- RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py b/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py index de3d3a2..20f1665 100644 --- a/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py +++ b/RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd2in7.py @@ -172,7 +172,7 @@ class EPD: def ReadBusy(self): logging.debug("e-Paper busy") - while(epdconfig.digital_read(self.busy_pin) == 1): # 0: idle, 1: busy + while(epdconfig.digital_read(self.busy_pin) == 0): # 0: idle, 1: busy epdconfig.delay_ms(200) logging.debug("e-Paper busy release")