fergbrain / Fergcorp_CircuitPython_PDISpectra

CircuitPython displayio driver for Pervasive Displays Spectra-based iTC/COG ePaper Displays
MIT License
1 stars 0 forks source link

Example not compiling #1

Open ssozonoff opened 2 years ago

ssozonoff commented 2 years ago

Hi

Regarding your commit "Rewrote the library to use the Adafruit EPD instead of displayio". Did you update the example to reflect these changes. I am no Python expert but to me it seems that the class init signature has changed with regards to what the example code is trying to do ?

Thanks

fergbrain commented 2 years ago

Let me take a look...it's been a while since I've looked at the code. What error are you getting?

fergbrain commented 2 years ago

@ssozonoff Ok, you are correct...check out the _epaperdev branch (which I just pushed) and should work (it's what I'm using on my macro keyboard right now).

I think my long term goal was to have both a class that uses/extends displayio.EPaperDisplay (which is what is on the _epaperdev branch) as well as a class that uses/extends Adafruit_EPD (which is what you see in main, but doesn't match the example).

Like all things, it's a story of integration hell.

Feel free to make pull requests though!

fergbrain commented 2 years ago

(I'm going to leave this open until I get the code in main branch fixed)