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

A way to hide ghosting when doing partial refresh #208

Open
Ray4san opened this issue Feb 6, 2023 · 0 comments
Open

A way to hide ghosting when doing partial refresh #208

Ray4san opened this issue Feb 6, 2023 · 0 comments

Comments

@Ray4san
Copy link

Ray4san commented Feb 6, 2023

I found that during the partial refresh process, new white pixels will affect the surrounding original black pixels. As a result, black pixels that do not need to be updated would accidently turn gray (I think you can use this way to display 4-grayscale pics).
So, when I want a partial refresh, I first fill the whole screen with black pixels and refresh with display.display(1);, then draw the next pic and do the partial refresh. With all black pixels turned gray in advance, ghosting won't appear anymore.
Actually, there still exist a little ghosting, but it does being much better especially on pics that contain a lot of scattered points. The screen only need to flash once at the first time, all the subsequent drawing that need to use partial refresh will perform better.
Hope this could help you make more creative watchfaces.

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

1 participant