IT8951 icon indicating copy to clipboard operation
IT8951 copied to clipboard

Partial refresh examples?

Open niawag opened this issue 5 years ago • 3 comments

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

niawag avatar Dec 08 '19 15:12 niawag

Did you eventually find sample code for this?

braincore avatar Aug 30 '20 06:08 braincore

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.

niawag avatar Aug 31 '20 07:08 niawag

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.

pvginkel avatar Jun 29 '24 20:06 pvginkel