increased SPI max_speed_hz to 18000000
This commit is contained in:
parent
b88de95121
commit
ace0d01239
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ def module_init():
|
|||
GPIO.setup(DC_PIN, GPIO.OUT)
|
||||
GPIO.setup(CS_PIN, GPIO.OUT, initial=GPIO.HIGH)
|
||||
GPIO.setup(BUSY_PIN, GPIO.IN)
|
||||
SPI.max_speed_hz = 2000000
|
||||
SPI.max_speed_hz = 18000000 # 2000000
|
||||
SPI.mode = 0b00
|
||||
return 0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue