Skip to content

Update examples and code to do conditional displayio refactoring imports #34

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

Closed
dhalbert opened this issue Nov 8, 2023 · 2 comments
Closed

Comments

@dhalbert
Copy link
Contributor

dhalbert commented Nov 8, 2023

e.g. like:

try:
    from busdisplay import BusDisplay
except ImportError:
    from displayio import Display as BusDisplay

and include fourwire as well above.

@dhalbert
Copy link
Contributor Author

dhalbert commented Nov 8, 2023

See https://github.com/adafruit/Adafruit_CircuitPython_SSD1331/pull/18/files for an example

@tekktrik
Copy link
Member

Resolved via #35

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

2 participants