mcauser / micropython-waveshare-epaper

MicroPython drivers for Waveshare e-paper modules
MIT License
310 stars 79 forks source link

Example for Waveshare 2.13" V2 #18

Open piratebriggs opened 2 years ago

piratebriggs commented 2 years ago

Hi,

I've spent some time getting a version 2 Waveshare 2.13" working and thought it might be useful to someone else :)

I've seen a few forum posts referencing this repo with 2.13" boards and getting garbled output so I think the v2 boards are fairly common - mine's been sitting in a drawer for at least a year (maybe 2?).

The ram layout/data entry mode setting combo on this controller is a bit crazy, hence the code in display_landscape. I've tried playing with different entry mode settings but I couln't make it match framebutter's native layout as it'd need a MONO_VMSB option which doesn't exist.

I've tried to follow the coding style of the repo.

TTFN

Ant

Pablo-Merino commented 2 years ago

Hello! Thank you som much for your work here, I was looking for something simpler to use with my v2.1 display. However, I cannot get it to work for some reason, it seems to always get stuck waiting on the BUSY pin.

I know it's not a bad wiring or anything, since Waveshare's official example works just fine.

I'm wondering if you could help me with this! Let me know if you need more info!

Thank you so much!