Skip to content

Commit

Permalink
Update inky_uc8159.py
Browse files Browse the repository at this point in the history
Increase the default timeout, since 15 seconds doesn't seem to be enough for the 7color display.
Fixes issue #103
  • Loading branch information
PeaceDealer authored May 27, 2021
1 parent fa59811 commit 0c1c14a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/inky/inky_uc8159.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def setup(self):
UC8159_PFS, [0x00] # PFS_1_FRAME
)

def _busy_wait(self, timeout=15.0):
def _busy_wait(self, timeout=30.0):
"""Wait for busy/wait pin."""
t_start = time.time()
while not self._gpio.input(self.busy_pin):
Expand Down

0 comments on commit 0c1c14a

Please sign in to comment.