Support for ST7567 LCD I2C display driver#310
Closed
geeksville wants to merge 68 commits intoThingPulse:masterfrom
Closed
Support for ST7567 LCD I2C display driver#310geeksville wants to merge 68 commits intoThingPulse:masterfrom
geeksville wants to merge 68 commits intoThingPulse:masterfrom
Conversation
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
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
Member
|
@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 |
…s. (#19) Welp, Yolo!
Preserve base class 'Print' overloads (address warnings)
On a large display, this was overflowing the int16_t variables, and causing screen draw problems.
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.
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.