Skip to content

displayio api updates #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 31, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions adafruit_monsterm4sk.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import busio
import digitalio
import displayio
import fourwire
import pwmio
import touchio
from adafruit_seesaw.seesaw import Seesaw
Expand Down Expand Up @@ -111,7 +112,7 @@ def __init__(self, i2c: Optional[I2C] = None):
left_tft_cs = board.LEFT_TFT_CS
left_tft_dc = board.LEFT_TFT_DC

left_display_bus = displayio.FourWire(
left_display_bus = fourwire.FourWire(
left_spi,
command=left_tft_dc,
chip_select=left_tft_cs, # Reset on Seesaw
Expand All @@ -129,7 +130,7 @@ def __init__(self, i2c: Optional[I2C] = None):
right_tft_cs = board.RIGHT_TFT_CS
right_tft_dc = board.RIGHT_TFT_DC

right_display_bus = displayio.FourWire(
right_display_bus = fourwire.FourWire(
right_spi,
command=right_tft_dc,
chip_select=right_tft_cs,
Expand Down