mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Add slight delay for waveshare v1 ReadBusy
Signed-off-by: python273 <iam@python273.pw>
This commit is contained in:
@ -66,6 +66,7 @@ class EPD:
|
|||||||
epdconfig.digital_write(self.cs_pin, GPIO.HIGH)
|
epdconfig.digital_write(self.cs_pin, GPIO.HIGH)
|
||||||
|
|
||||||
def ReadBusy(self):
|
def ReadBusy(self):
|
||||||
|
epdconfig.delay_ms(20)
|
||||||
while(epdconfig.digital_read(self.busy_pin) == 0): # 0: idle, 1: busy
|
while(epdconfig.digital_read(self.busy_pin) == 0): # 0: idle, 1: busy
|
||||||
epdconfig.delay_ms(100)
|
epdconfig.delay_ms(100)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user