ahem
This commit is contained in:
parent
55bf6ee42c
commit
377afd55fa
@ -33,6 +33,7 @@ class UnicornHat(object):
|
|||||||
|
|
||||||
def reset_clock(self):
|
def reset_clock(self):
|
||||||
GPIO.output(self.PIN_CS, GPIO.LOW)
|
GPIO.output(self.PIN_CS, GPIO.LOW)
|
||||||
|
time.sleep(0.000001)
|
||||||
GPIO.output(self.PIN_CS, GPIO.HIGH)
|
GPIO.output(self.PIN_CS, GPIO.HIGH)
|
||||||
|
|
||||||
def spi_write(self, buf1, buf2):
|
def spi_write(self, buf1, buf2):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user