Skip to content

Commit c1ab21e

Browse files
authored
Merge pull request #8 from FoamyGuy/displayio_api_updates
displayio api updates
2 parents 39d386a + c0067e0 commit c1ab21e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/tsc2007_3.5_feather_v2.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
import board
77
import displayio
8+
import fourwire
89
from adafruit_hx8357 import HX8357
910

1011
import adafruit_tsc2007
@@ -16,7 +17,7 @@
1617
tft_cs = board.D9
1718
tft_dc = board.D10
1819

19-
display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs)
20+
display_bus = fourwire.FourWire(spi, command=tft_dc, chip_select=tft_cs)
2021
display = HX8357(display_bus, width=480, height=320)
2122

2223
# Use for I2C

0 commit comments

Comments
 (0)