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

Fix Epd7in5_V2 content fading out during DisplayFrame #228

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

julianbuettner
Copy link

I had an issue with the Epd7in5_V2 driver. I could init and write graphics to the SRAM, as I could see the result being inverted (flickering) during the display refresh. But during the flickering, the content faded out. The result was barely seeable light light gray text and graphic on the display.

This did not happen when using the demo from waveshare (download here). So i copied the init procedure and it worked! My display now shows everything crispy black on white!

I do not know what exactly went wrong, but it works now and I wanted to spare others wasting hours (days) of their lives. I could "bisect" the changed lines to see what is causing the problem to be fixed, if that is wanted.

Otherwise thanks for the implementation, the rest works like a charm.

To test or use this library define this fork as crate in the Cargo.toml:

epd-waveshare = { git = "https://github.com/julianbuettner/epd-waveshare.git" }

@auto-assign auto-assign bot requested a review from caemor December 16, 2024 11:49
@caemor
Copy link
Owner

caemor commented Dec 16, 2024

Thanks for fixing it!

@caemor caemor merged commit 6b27f52 into caemor:main Dec 16, 2024
2 checks passed
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.

2 participants