diff --git a/Calendar/epdif.py b/Calendar/epdif.py index ed82b3b..51624d0 100644 --- a/Calendar/epdif.py +++ b/Calendar/epdif.py @@ -16,7 +16,7 @@ def epd_digital_write(pin, value): GPIO.output(pin, value) def epd_digital_read(pin): - return GPIO.input(BUSY_PIN) + return GPIO.input(pin) def epd_delay_ms(delaytime): time.sleep(delaytime / 1000.0)