robweber / omni-epd

An EPD (electronic paper display) class abstraction to simplify communications across multiple display types.
GNU General Public License v3.0
75 stars 16 forks source link

Not working with Waveshare 2.13inch Touch e-Paper HAT #74

Closed redphx closed 2 years ago

redphx commented 2 years ago

The demo from Waveshare works without modification. When I run omni-epd-test -e omni_epd.mock, there was no errors but the screen was blank/empty.

robweber commented 2 years ago

The omni_epd.mock device is a virtual device that generates an image saved to disk. It's for testing. To specify your display please look at the displays list. For the 2.13 display it will either be waveshare_epd.epd2in13 or waveshare_epd.epd2in13_V2 depending on your version.

For any projects using this library you'd have to specify that EPD identifier as well.

redphx commented 2 years ago

Oh, sorry. I misunderstood. Let's me try again with a real test.

redphx commented 2 years ago

Tested with waveshare_epd.epd2in13_V2 and it worked! sleep() and clear() features work too. Thank you.

robweber commented 2 years ago

Awesome, glad that got it all working.