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 support for 72x40px SSD1306 modules #101

Merged
merged 8 commits into from
Feb 7, 2020
Merged

Add support for 72x40px SSD1306 modules #101

merged 8 commits into from
Feb 7, 2020

Conversation

jamwaffles
Copy link
Collaborator

@jamwaffles jamwaffles commented Dec 17, 2019

Hi! Thank you for helping out with SSD1306 development! Please:

  • Check that you've added documentation to any new methods
  • Rebase from master if you're not already up to date
  • Add or modify an example if there are changes to the public API - graphics_i2c_72x40
  • Add a CHANGELOG.md entry in the Unreleased section under the appropriate heading (Added, Fixed, Changed, etc)
  • Run rustfmt on the project with cargo fmt --all - CI will not pass without this step
  • Check that your branch is up to date with master and that CI is passing once the PR is opened

PR description

Adds support for the 72x40px variant of the SSD1306. I believe this is also sometimes advertised as a 70x40px display. This Reddit thread was handy in figuring out a display offset of (28, 0) pixels. This is handled by the driver, so no user code needs to change.

Photograph of 72x40px SSD1306 showing a square, circle and triangle test pattern

@jamwaffles
Copy link
Collaborator Author

Hey @therealprof looks like this fell down the back of the couch. Would you have a moment to review it? It not I think I'll merge it as-is.

The display I have at least uses an alternate row connection mapping as
opposed to sequential. Without this change, the display skips every
second row and makes everything stretched 2x in Y
@jamwaffles
Copy link
Collaborator Author

Released in 0.3.0-alpha.4.

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.

1 participant