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

Add resolution parameter to InkyMockImpression.__init__ #169

Conversation

corranwebster
Copy link
Contributor

This permits simpler setting of the size of the Inky Impression being mocked.

For example, this allows:

display = InkyMockImpression((800, 480))

which will ensure that the buffer size gets set up correctly.

Fixes #168.

This permits simpler setting of the size of the Inky Impression being mocked.

For example, this allows:
``` python
display = InkyMockImpression((800, 480))
```
which will ensure that the buffer size gets set up correctly.

Fixes pimoroni#168.
@Gadgetoid
Copy link
Member

Oof, may need a rebase now I've merged #167

Gadgetoid added a commit that referenced this pull request Nov 20, 2023
@Gadgetoid
Copy link
Member

I have added this as a commit onto my WIP repackaged branch here: fe70476

@Gadgetoid Gadgetoid closed this Nov 20, 2023
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.

InkyMockImpression class doesn't easily support multiple resolutions
2 participants