edify icon indicating copy to clipboard operation
edify copied to clipboard

proof of concept using epdlib

Open txoof opened this issue 3 years ago • 4 comments

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.

txoof avatar Aug 02 '21 14:08 txoof

Hey there @txoof..... Thanks for this. I will pull a copy and have a play, and doubtless come back with questions :)

veebch avatar Aug 02 '21 16:08 veebch

If you run into trouble, let me know.

txoof avatar Aug 02 '21 16:08 txoof

If you run into trouble, let me know.

I will, and I will :)

veebch avatar Aug 02 '21 16:08 veebch

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).

txoof avatar Aug 08 '21 18:08 txoof