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

Partial refresh examples? #7

Open
niawag opened this issue Dec 8, 2019 · 3 comments
Open

Partial refresh examples? #7

niawag opened this issue Dec 8, 2019 · 3 comments

Comments

@niawag
Copy link

niawag commented Dec 8, 2019

Hi and thanks for your code, it's really helpfull to start and build a new software to render images on the 7.8" e-ink screen!

I'd like to know if you can provide code to partially refresh the screen (only write a small image at a specific location)

Thanks for your help

@braincore
Copy link

Did you eventually find sample code for this?

@niawag
Copy link
Author

niawag commented Aug 31, 2020

Hi, I did not but I found an intersting fork that can help you:
https://github.com/naluhh/IT8951
And maybe that one too: https://github.com/naluhh/4bpp-converter/

I didn't care that much about partial refresh for my app so I haven't spend much time on it.

@pvginkel
Copy link

I'm not sure if this answers the question, but I was looking for a way to update the screen without having it flash to black. If this is what you're looking for, you need to use EPD_IT8951_1bp_Refresh with the A2_Mode. 4bpp will always flash to black, 1bpp will not.

You do have to do a full refresh now and again. The Wiki goes into this.

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

No branches or pull requests

3 participants