-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Added Support for the Waveshare 2.7 Inch V2 e-Ink display #1189
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Una Karlsen <[email protected]>
Signed-off-by: Una Karlsen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
How to make this work?
|
This made it work:
|
I dont find the right path i just got the python 3.7/dist-packages and no site-packages path didnt bring it to work |
Maybe you are on the wrong folder? |
I used the find command and found usr/local/lib/python2.7/site-packages |
Description
I started with the existing Waveshare 2.7 Inch driver, and swapped out the necessary library from Waveshare for version 2 one, and modify the uses of the clear() function to not specify a background colour as V2 does not take arguments in it's implementation of clear().
This was all that was needed in order to make the driver work.
Motivation and Context
How Has This Been Tested?
I have successfully run this new code on my 2.7 inch v2 hardware for several weeks now with no issues.
Tests were run with a Raspberry Pi Zero W.
Types of changes
Checklist:
git commit -s