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

support newer/more versions of inky pHAT displays #67

Merged
merged 1 commit into from
Apr 24, 2022

Conversation

philevang
Copy link
Contributor

@philevang philevang commented Apr 3, 2022

By using the auto-detect feature of the inky library also newer versions of the popular inky pHAT display are supported (for example the "InkyPHAT_SSD1608" is supported without having to specify it specifically).

Tested it with a InkyPHAT_SSD1608 and it works fine so far. Only issue is as the resolution is a bit higher but the screens are drawn using absolute values (pixels), there is a bit of empty "border" on the very right and bottom of the display.
This might be corrected by calculating relative positions depending on the display resolution.

Note: as it is a friend of mine who build the ATM, I do not have access to the display that frequently.

By using the auto-detect feature of the inky library also newer versions of the popular inky pHAT display are supported (for example the "InkyPHAT_SSD1608" is supported without having to specify it specificly)
@AxelHamburch
Copy link
Contributor

Nice! Did you test it? I don't have an InkyPHAT and can't test it.

Copy link
Collaborator

@lightisfaster lightisfaster left a comment

Choose a reason for hiding this comment

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

Thanks for your PR! What is mean with ask_user? Any user interactions needed?

config.py Show resolved Hide resolved
@philevang
Copy link
Contributor Author

edited first comment to include tested display and open issue.

@lightisfaster lightisfaster merged commit c2e8181 into 21isenough:master Apr 24, 2022
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.

3 participants