Skip to content

Commit 0da2d42

Browse files
committed
update pins for touchpaint
1 parent cf64a8b commit 0da2d42

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

examples/touchpaint_example.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,12 @@
1313
displayio.release_displays()
1414

1515
spi = board.SPI()
16-
tft_cs = board.TX
17-
tft_dc = board.RX
16+
# for eyespi bff
17+
# tft_cs = board.TX
18+
# tft_dc = board.RX
19+
# else:
20+
tft_cs = board.D9
21+
tft_dc = board.D10
1822

1923
display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs)
2024
# display is rotated to align x, y with touch screen x, y

0 commit comments

Comments
 (0)