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.
2 parents b3d1a3a + 82096c6 commit f0918e7Copy full SHA for f0918e7
examples/hx8357_simpletest.py
@@ -9,11 +9,13 @@
9
from adafruit_display_text import label
10
from adafruit_hx8357 import HX8357
11
12
+# Release any resources currently in use for the displays
13
+displayio.release_displays()
14
+
15
spi = board.SPI()
16
tft_cs = board.D9
17
tft_dc = board.D10
18
-displayio.release_displays()
19
display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs)
20
21
display = HX8357(display_bus, width=480, height=320)
0 commit comments