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

Pico ST7789 refactoring #718

Merged
merged 6 commits into from
Oct 7, 2021
Merged

Conversation

Daft-Freak
Copy link
Collaborator

Some of this is for supporting the other displays, but the rest results in more constants, more metadata and less hardcoded pins. (And also fixes it being a class that can only have one instance because reasons)

It was broken for multiple instances by the pixel doubling code, and we
only need one anyway. As a bonus, this makes it so that advanced users
can #include the header and do low-level screen things.

While here, make the pin definitions/screen size constant.
Easy now that they're constant
@Gadgetoid Gadgetoid merged commit 6edf665 into 32blit:master Oct 7, 2021
@Gadgetoid
Copy link
Contributor

Thank you! That all ended up as a bit of a hack.

@Daft-Freak Daft-Freak deleted the pico-st7789-refactor branch October 7, 2021 13:28
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