From c0067e0453f26621c9c9802f1a9d38ecb5d8fb27 Mon Sep 17 00:00:00 2001 From: foamyguy Date: Sat, 31 May 2025 11:02:40 -0500 Subject: [PATCH] displayio api updates --- examples/tsc2007_3.5_feather_v2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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