Comments (6)
Thank you for testing that. I wondered if that was the case as well with the re-install. I'll mark this accordingly and make the change in the main
branch directly since it's a pretty simple fix. Thank you for confirming!
from omni-epd.
Thanks for the all the information on this. Changing the alt_clear
field should have triggered the correct clear method. How did you test after the change? Did you uninstall and rebuild the module if installed on your system?
from omni-epd.
I found a workaround for this to make it work. If you want to clear the screen, use:
epd._device.Clear(0xFF)
from omni-epd.
How is that any different than this line? https://github.com/robweber/omni-epd/blob/main/src/omni_epd/displays/waveshare_display.py#L137
By changing the alt_clear
parameter to True
it should trigger that as part of the normal epd.clear()
method. The above definitely works but kind of ruins the point of having an abstraction that works for other EPD devices by having to access the device directly.
from omni-epd.
I agree that it's essentially the same; it's just what I did to make it work for my device. I'll try the suggested above fix to see if it works (as it should, as they are equivalent).
from omni-epd.
So I tested it, and the below modification mentioned works.
"epd2in13_V2": {"alt_init": True, "lut_init": True, "alt_clear": True, "version": 2},
It cleared my screen blank. Maybe the author of the issue didn't reinstall the changed library.
from omni-epd.
Related Issues (20)
- Waveshare 7.8in HAT support? HOT 1
- IT8951 Devices HOT 1
- Waveshare 6" e-Paper HOT 9
- “Illegal instruction” when importing from `omni-epd` on Raspberry Pi Zero HOT 22
- Inky Impression library doesn't work HOT 9
- only red pixels HOT 66
- Black vs BW HOT 2
- Inky BW inversion problem
- Add Partial Update Support HOT 3
- Mock Display Palette with Dithering HOT 2
- Add support for Waveshare 12.48 bw and tri-color screens
- Not working with Waveshare 2.13inch Touch e-Paper HAT HOT 4
- Waveshare 7.8 display HOT 5
- Pillow Static Variables Changed HOT 1
- Couldn't find waveshare_epd.epd5in65f HOT 2
- Streaking on SlowMovie maybe epd related? HOT 1
- Thank you. Possible update to README. HOT 1
- Use with other epaper displays? HOT 4
- Waveshare 1872×1404 7.8inch display only supports "bw" mode, should support "gray4" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omni-epd.