Add slight delay for waveshare v1 ReadBusy
Signed-off-by: python273 <[email protected]>
This commit is contained in:
1 parent
9ca2424df1
commit
4fa7e9f077
1 file changed
+1
@@ -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