Skip to content

Conversation

geeksville
Copy link
Contributor

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.

geeksville and others added 9 commits February 21, 2020 10:08
    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
@geeksville geeksville marked this pull request as draft October 23, 2020 09:47
@marcelstoer
Copy link
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.

@rallebeckfisch
Copy link

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.