joukos / PaperTTY

PaperTTY - Python module to render a TTY or VNC on e-ink
948 stars 101 forks source link

Add support for IT8951 based displays #31

Closed fimad closed 4 years ago

fimad commented 4 years ago

I've tested this with a 6 inch display that uses the IT8951 controller board with both VNC and terminal and it seems to work well. I haven't tested with a 9 inch display but there isn't anything display specific in the driver (that I'm aware of) so it should just work.

Despite also being a SPI device there doesn't appear to actually be that much in common between this driver and the other display drivers so I ended up sub-classing from DisplayDriver instead of WaveshareEPD which has some SPI and GPIO bootstrapping.

joukos commented 4 years ago

Thank you so much for this awesome contribution! Makes me want to order one of the new 10.3" displays to try it out ;) I also appreciate the clarifying comments in the code.

I merged this now and will update the project README to mention it.