diff --git a/dashboard_api/hat/unicorn.py b/dashboard_api/hat/unicorn.py index c6bd582..7af9f47 100644 --- a/dashboard_api/hat/unicorn.py +++ b/dashboard_api/hat/unicorn.py @@ -33,6 +33,7 @@ class UnicornHat(object): def reset_clock(self): GPIO.output(self.PIN_CS, GPIO.LOW) + time.sleep(0.000001) GPIO.output(self.PIN_CS, GPIO.HIGH) def spi_write(self, buf1, buf2):