significant increase of speed for 7in5 and 7in5_HD
This commit is contained in:
parent
ebe47509b1
commit
c950cc04c0
3 changed files with 89 additions and 112 deletions
|
@ -61,6 +61,9 @@ class RaspberryPi:
|
|||
def spi_writebyte(self, data):
|
||||
self.SPI.writebytes(data)
|
||||
|
||||
def spi_writebyte2(self, data):
|
||||
self.SPI.writebytes2(data)
|
||||
|
||||
def module_init(self):
|
||||
self.GPIO.setmode(self.GPIO.BCM)
|
||||
self.GPIO.setwarnings(False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue