Skip to content

displayio api updates #24

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
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion examples/ov7670_displayio_gcm4_tftshield18.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import busio
import digitalio
import displayio
import fourwire
from adafruit_seesaw.tftshield18 import TFTShield18
from adafruit_st7735r import ST7735R

Expand All @@ -31,7 +32,7 @@
tft_cs = board.D10
tft_dc = board.D8

display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs)
display_bus = fourwire.FourWire(spi, command=tft_dc, chip_select=tft_cs)

ss.tft_reset()
display = ST7735R(display_bus, width=160, height=128, rotation=90, bgr=True, auto_refresh=False)
Expand Down
3 changes: 2 additions & 1 deletion examples/ov7670_displayio_kaluga1_3_ili9341.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import board
import busio
import displayio
import fourwire
from adafruit_ili9341 import ILI9341

from adafruit_ov7670 import (
Expand All @@ -37,7 +38,7 @@
displayio.release_displays()

spi = busio.SPI(MOSI=board.LCD_MOSI, clock=board.LCD_CLK)
display_bus = displayio.FourWire(
display_bus = fourwire.FourWire(
spi, command=board.LCD_D_C, chip_select=board.LCD_CS, reset=board.LCD_RST
)
display = ILI9341(display_bus, width=320, height=240)
Expand Down