-
Notifications
You must be signed in to change notification settings - Fork 127
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
Ghost image when redrawing screen #52
Comments
This a normal effect on this epapers. That's why kindle writes kind of a reverse image when updating. But also in other epapers like my Hisense color phone it also has a ghost effect when only partial updates are used. Only using full clear mode that is super slow solves it. |
So, what do we need to do fix it, like the Kindle does? I'm running into the same issue. Here you can clearly see the text "Voltage: 4.94V" because I was running the "demo" example before and you can even see the eyes of the manga girl because I once ran the "drawImages" example on the display: I think the reason why you can only see the "Voltage" line and not the other lines from the "demo" example is that they are somehow drawn differently because of partial refresh. Here is a picture with the "demo" example running and you can see how the partially refreshed area has much higher contrast: |
I struggled a lot with this issue. The initial approach I tried was to draw the negative of the previous image before clearing the screen and painting the new image. This works, but the downside is that you need to have a copy of the previous image, which is not always possible. Eventually I came up with this sequence for drawing the new image, which seems to solve the ghosting and give good contrast: void drawFrame(uint8_t *framebuffer)
{
epd_clear_area_cycles(epd_full_screen(), 2, 80);
delay(100);
epd_draw_image(epd_full_screen(), framebuffer, WHITE_ON_WHITE);
epd_draw_image(epd_full_screen(), framebuffer, WHITE_ON_WHITE);
epd_draw_image(epd_full_screen(), framebuffer, WHITE_ON_BLACK);
epd_draw_image(epd_full_screen(), framebuffer, BLACK_ON_WHITE);
} Notes:
|
I found the more times I update the screen with the same image the stronger the ghosting is and the more times I need to run the code above. @LilyGO is there a better waveform that can be used to mitigate this? |
Assuming that
represents drawing mode
is indeed Also, when we say |
This issue is stale because it has been open for 30 days with no activity. |
Although this issue is indicative that something isn't quite right with the product design, the progress is mostly happening in one of the other related issues (#93 ). Would it make sense to close this one as duplicate? In fact, there are many duplicate issues related to poor / inoperable partial refresh and ghost images. #93 has a promising mod by Tasshack. |
Hi,
I am having an issue that when I display some text on the screen the previously displayed one is visible in negative (whiter than the background).
any hints on what could be wrong?
I always write to a fully cleared frame buffer first:
and then draw the full buffer:
See picture below for the issue:
The text was updated successfully, but these errors were encountered: