Skip to content

Commit 63c75c5

Browse files
authored
Merge pull request #12 from makermelissa/master
Added reset pin to example so it can work with breakouts too
2 parents 85a303f + e913aa5 commit 63c75c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/ili9341_simpletest.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
background, a smaller purple rectangle, and some yellow text. All drawing is done
44
using native displayio modules.
55
6-
Pinouts are for the 2.4" TFT FeatherWing with a Feather M4 or M0.
6+
Pinouts are for the 2.4" TFT FeatherWing or Breakout with a Feather M4 or M0.
77
"""
88
import board
99
import displayio
@@ -16,7 +16,7 @@
1616
tft_dc = board.D10
1717

1818
displayio.release_displays()
19-
display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs)
19+
display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=board.D6)
2020
display = adafruit_ili9341.ILI9341(display_bus, width=320, height=240)
2121

2222
# Make the display context

0 commit comments

Comments
 (0)