Add SH1106 driver, 64px layout support and configurable display settings#11
Open
mlodedrwale wants to merge 6 commits into031devstudios:masterfrom
Open
Add SH1106 driver, 64px layout support and configurable display settings#11mlodedrwale wants to merge 6 commits into031devstudios:masterfrom
mlodedrwale wants to merge 6 commits into031devstudios:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Summary
This PR adds SH1106 driver support, introduces a 64 px layout variant, and refactors the display configuration so it can be locally overridden via
my_config.h(which is kept out of version control via.gitignore).Type of Change
Changes Made
Sh1106Driverimplementation alongside the existing SSD1306 support.DISPLAY_CONTROLLER.DISPLAY_HEIGHT_64.ClassicLayout64so it is used whenDISPLAY_HEIGHTis set to the 64 px option.config.h:DISPLAY_WIDTHDISPLAY_HEIGHT_32,DISPLAY_HEIGHT_64DISPLAY_CONTROLLER_SSD1306,DISPLAY_CONTROLLER_SH1106DISPLAY_CONTROLLERandDISPLAY_HEIGHTguarded with#ifndef.my_config.hoverride mechanism:my_config.his included at the end ofconfig.hif present (using a conditional include).my_config.his added to.gitignoreso local configuration does not leak into the repo.my_config.husage:Testing
Hardware Tested On
Sh1106Driverand 64 px layout.Sh1106Driverand 32 px layout. On 64px height display, using half of itScreenshots (if applicable)
Checklist
Additional Notes
Any additional information, context, or concerns about this PR.