diff --git a/examples/tsc2007_3.5_feather_v2.py b/examples/tsc2007_3.5_feather_v2.py index d5e1f5a..3ff0b27 100644 --- a/examples/tsc2007_3.5_feather_v2.py +++ b/examples/tsc2007_3.5_feather_v2.py @@ -5,6 +5,7 @@ import board import displayio +import fourwire from adafruit_hx8357 import HX8357 import adafruit_tsc2007 @@ -16,7 +17,7 @@ tft_cs = board.D9 tft_dc = board.D10 -display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs) +display_bus = fourwire.FourWire(spi, command=tft_dc, chip_select=tft_cs) display = HX8357(display_bus, width=480, height=320) # Use for I2C