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

Split out paralleldisplay to its own module #5260

Merged
merged 6 commits into from
Aug 31, 2021

Conversation

jepler
Copy link
Member

@jepler jepler commented Aug 29, 2021

.. leaving a backwards-compatible alias in displayio.

This saves about 1kB flash on circuitplayground_express_displayio.

I tested this on a pyportal titano and the display still displays.

There seem to be no direct uses of displayio.ParallelDisplay within the bundle or learn, for whatever that's worth; just the couple of boards that have the displays built in.

@jepler
Copy link
Member Author

jepler commented Aug 29, 2021

My interest in doing this right now is that for the ESP32-S2-HMI-DevKit-1, I may need to complicate the constructor to support non-consecutive pins; having this code disabled on the low-capacity boards that include displayio means less worry over code size increase.

@tannewt tannewt self-requested a review August 30, 2021 19:45
@jepler
Copy link
Member Author

jepler commented Aug 30, 2021

Thanks for grabbing this @tannewt !

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem! Good to do in 7.0.0

@tannewt tannewt merged commit 5fb4fa6 into adafruit:main Aug 31, 2021
@jepler jepler deleted the paralleldisplay branch August 31, 2021 20:08
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

Successfully merging this pull request may close these issues.

2 participants