We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2657241 commit da41abcCopy full SHA for da41abc
README.rst
@@ -35,6 +35,10 @@ Usage Example
35
from adafruit_st7789 import ST7789
36
37
spi = board.SPI()
38
+ while not spi.try_lock():
39
+ pass
40
+ spi.configure(baudrate=24000000) # Configure SPI for 24MHz
41
+ spi.unlock()
42
tft_cs = board.D5
43
tft_dc = board.D6
44
examples/st7789_simpletest.py
@@ -8,6 +8,10 @@
8
9
10
11
+while not spi.try_lock():
12
13
+spi.configure(baudrate=24000000) # Configure SPI for 24MHz
14
+spi.unlock()
15
16
17
0 commit comments