-
Notifications
You must be signed in to change notification settings - Fork 137
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
7.5" V2 display driver does not work #70
Comments
Merged #71 |
What is still missing from here:
|
Hey :) |
Hello Flocksserver, |
Wow your second name is "The Flash". That was a fast reply :) |
Got a chance recently to take a look at this and I believe the culprit might be the change made in #83 which writes bytes one at time instead of all at once as reverting this got my 7.5" HD display working again and suspect this may be the case for the V2 too. |
Hi, I just bought a "7.5 Inch B/W/R V2/V3" with the e-Paper Driver HAT https://www.waveshare.com/7.5inch-e-Paper-HAT-B.htm And after a day, I didn't succeed to display something on the screen with a raspberry 4 and a raspberry 3 😞 Can someone help me or provide a working sample ? please Thanks |
@GBouerat out of curiosity does this fork work for you instead: https://github.com/whiite/epd-waveshare |
@caemor yeah sure thing, will probably be next week that I get the chance and I can only check for the HD version at the moment. Looks like a neat solution! |
I try everything I found including your fork, and nothing works for me so far, that's why I ask for some help 👍 |
@caemor tried testing out that branch but didn't realise there has been quite a number of significant changes since 0.5 - in trying out that branch and fixing compatibility issues with my own code I've ended up breaking my screen so will have to order another before I can check it out again |
A few things I found while trying to get my display to work as expected:
epd7in5_v2v::EPD7in5::new(...)
hangs here since thewait_until_idle
implementation is wrong. In the example C code provided by Waveshare one can see that the driver sends aGET_STATUS
command and waits 20ms. This seems to be needed otherwise the busy pin wont update which is the root cause to the problem.Black and White seems to have been mixed up. Setting the fill-color to black makes the display white and vice versa. Same thing goes for text colors/background.
A few things that might be important:
aarch64-linux-gnu-gcc
targetingaarch64-unknown-linux-musl
.A hacked together version of epd-waveshare can be found here and an example can be found here.
The text was updated successfully, but these errors were encountered: