micropython-waveshare-epaper icon indicating copy to clipboard operation
micropython-waveshare-epaper copied to clipboard

Writing a driver for GDEW029T5 (epaper2in9c?)

Open 3ch01c opened this issue 6 years ago • 4 comments

I'd like to use this with Badgy rev 2C which I think requires a new version of the epaper2in9 driver. Does that sound right? If so, any tips on modifying it before I take this red pill?

3ch01c avatar Nov 10 '19 20:11 3ch01c

Have a look at the upstream repo: https://github.com/waveshare/e-Paper https://github.com/waveshare/e-Paper/blob/master/RaspberryPi%26JetsonNano/python/lib/waveshare_epd/epd2in9bc.py

The A, B and C drivers are usually pretty similar with slightly different inits

mcauser avatar Nov 10 '19 22:11 mcauser

I am interested too, going to do some test.

garanews avatar Dec 05 '19 09:12 garanews

Good luck. I ran out of time and had to fall back to the Arduino library. I assume epd2in9d.py is the reference driver. I started with a copy of the epaper2in9.py. I modified the lookup tables and init() function to reflect the reference driver. I think the last thing I tried was to get the SetFullReg and SetPartReg functionality implemented.

3ch01c avatar Dec 12 '19 22:12 3ch01c

Hi @3ch01c , few days ago released https://github.com/sqfmi/badgy-python/blob/master/badgyRev2C.py Using this driver and same old image bw it works. I have some issue using a 4 graylevel image. Did you tested it with a 4 graylevel image, or can you provide me a sample image ? (maybe I am not creating image correctly)

garanews avatar Jan 08 '20 10:01 garanews