edify
edify copied to clipboard
proof of concept using epdlib
This is @Txoof from twitter. I knocked together a proof of concept of your edify project using epdlib instead of manually managing all of the image creation. This PR probably shouldn't be merged, but it does have a working POC.
epdlib provides Screen()
object for initing and writing to the EPD and Layout()
for managing layouts that scale depending on the specified screen. This makes it super easy to use the same code with almost any of the WaveShare screens.
To try it out, make sure you have the appropriate dependencies installed (see the updated requirements.txt
), modify line 254 to match the attached screen and then run $ python3 edify_epdlib.py
Let me know if you're interested in collaborating more on developing and using epdlib.
Hey there @txoof..... Thanks for this. I will pull a copy and have a play, and doubtless come back with questions :)
If you run into trouble, let me know.
If you run into trouble, let me know.
I will, and I will :)
I've been busy adding features to epdlib and it's now possible to add horizontal and vertical lines. It's also possible to add frames around each block similar to a spreadsheet (top, bottom, left, right).