Skip to content
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

Suggestion for improvement. #1

Open
pagong opened this issue Oct 7, 2024 · 0 comments
Open

Suggestion for improvement. #1

pagong opened this issue Oct 7, 2024 · 0 comments

Comments

@pagong
Copy link

pagong commented Oct 7, 2024

Hello Richard.
Thank you for providing these valuable and concise examples.

As CircuitPython9 has started shuffling around the displayio code
you might adapt your examples to use the fourwire module.

DIFF:
+import fourwire
from adafruit_st7735r import ST7735R

-display_bus = displayio.FourWire(
+display_bus = fourwire.FourWire(
spi, command=tft_dc, chip_select=tft_cs, reset=tft_rst
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant