Skip to content

Commit e913aa5

Browse files
committed
Added reset pin to example so it can work with breakouts too
1 parent 2cd72bd commit e913aa5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/ili9341_simpletest.py

Lines changed: 2 additions & 2 deletions
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)