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
Cannot Open Display #6
Comments
My guess is that you need to include the correct e-ink driver that matches your 7.5" display. Can you share with me the change you made in that regard? |
This line will have to be changed to match your display:
|
I see these possible driver libraries:
If I had to guess, I would start with |
Unfortunately it seems to be something else. I changed it in both the systemsix and eink_utils files to epd7in5b_v2.py. I confirmed that was the one when I used it with the Waveshare demo code. |
So the demo code from Waveshare worked? Would be interesting to see how that code differs from SystemSix's code. Perhaps they initialize the panel differently. BTW, I haven't tried Mac Terminal but I did try using PyCharm CE on the Mac. |
Thank you so much! I'm sure you have better things to do on a Sunday afternoon, but I appreciate it. I'll definitely give PyCharm a try to make sure nothing else is wonky. Yep the Waveshare demo worked and I was actually able to get 13bytes' calendar to work. I'll compare the display code. Wondering also if there may be an updated driver. Thanks again! |
I updated the driver and I get a new error WARNING:app:display() missing 1 required positional argument: 'imagered' |
Interesting. 13bytes calendar used a display that had red in addition to black. The call to display the image, maybe it's You might try just passing Or if |
Something like:
Then:
|
Thank you so much again. If this doesn't work I will cut my losses and buy the same screen! |
It's clear to me you are close. BTW, code above probably should be:
I forgot the |
That did it, thank you! Beautiful. I'm going to mess around with the size of the picture a little bit to reflect the larger screen, but it is amazing! |
Very cool. Happy to have tried to help. |
Per my last message I hooked up a slightly larger 7.5in display. I altered the epd name in the systemsix.py file and the eink_utils.py file as well as the display size to 800, 480. It seems to successfully pull the weather and calendar info, but unfortunately I can't get it to display. I get the following error:
INFO:app:systemsix.update_display(); updating display.
option parsing failed: Cannot open display:
^CTraceback (most recent call last):
File "/home/pi/SystemSix/systemsix.py", line 557, in
main()
File "/home/pi/SystemSix/systemsix.py", line 553, in main
time.sleep(5)
Any ideas on where I might be going wrong? I know you said to try turning off the display to test run it, but I'm running this out of a Mac terminal and I'm not sure how to get that to display without the e-ink screen. Thanks!!
The text was updated successfully, but these errors were encountered: