-
Notifications
You must be signed in to change notification settings - Fork 654
Support for ST7567 LCD I2C display driver #310
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
Draft
geeksville
wants to merge
64
commits into
ThingPulse:master
Choose a base branch
from
meshtastic:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
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
On my app I noticed that each time I called setTargetFPS the transitions would become faster and faster, until finally they don't even take one frame. The problem was that the FP math for calculating changeRatio would (because of rounding err) keep shrinking the number of ticksPerFrame. This change instead computs ticksPerFrame/perTransition based on the requested display time, so error can't accumulate from a series of calls. (In my app I only bump up target FPS before each transition but then I lower it down again afterwards to save CPU)
(Also makes it easier to share code when users of library are targeting multiple platforms)
- allow -1 as value for _sda and _scl parameters (see: 6a56151 ) - use same autoinit logic
Treat SH1106 controller the same as SSD1306
Bugfix and Improve the details in OLEDDisplayUiState during transition
add frame notification bounceyness
…sd1306 into ThingPulse-master
Include a different header to select the OLED Controller based on a parameter that is probed early on the I2C bus in the Meshtastic Firmware
Enable selection of I2C wire interface on Pico RP2040 platform.
upstream changes
Move SetGeometry to public space
Always break on newline character
Restore log buffer: revert upstream changes
fixed name collision for keyword NONE
@caveman99 @geeksville @mc-hamster @sachaw (tagging meshtastic folks) Do you still plan on getting this out of draft status at some point? GitHub reminds me every time a commit is added to your master branch 😜 We'd still be open to get this merged to add ST7567 support. |
Hi, it seams the display has half screen , not 128x128 , i think 128x64 |
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.
This is a WIP driver for the ST7567 LCD chip. Do not merge. I'm just opening this as a draft to remind me and come back and make a clean PR later.
Thanks for the lib. I used it on previous versions of our meshtastic project, and just now added a device that has an LCD screen.