Skip to content

Commit

Permalink
update pins for touchpaint
Browse files Browse the repository at this point in the history
  • Loading branch information
BlitzCityDIY committed Dec 8, 2023
1 parent cf64a8b commit 0da2d42
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions examples/touchpaint_example.py
Expand Up @@ -13,8 +13,12 @@
displayio.release_displays()

spi = board.SPI()
tft_cs = board.TX
tft_dc = board.RX
# for eyespi bff
# tft_cs = board.TX
# tft_dc = board.RX
# else:
tft_cs = board.D9
tft_dc = board.D10

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

0 comments on commit 0da2d42

Please sign in to comment.