caemor / epd-waveshare

Drivers for various EPDs from Waveshare
ISC License
221 stars 131 forks source link

Add support for epd12in48b_v2 #174

Open vadimcn opened 11 months ago

vadimcn commented 11 months ago

Here's a first draft of my driver for 12.48" module. Does this look like something you'd be willing to integrate?

i-like-noodles commented 11 months ago

I have the same device and same ESP32 and this worked for me. But mine is v1 because it did not come with a v2 sticker as the documentation says. This device has a slightly different startup procedure in the upstream code as seen here, though I'm not sure if it makes a difference. The only thing it seems to change is that the v2 startup flashes a lot more compared to v1 on mine.

I did a quick change to this to implement v1 as well, though I don't know if this is how you would want to implement it. See this diff.patch

caemor commented 8 months ago

I have the same device and same ESP32 and this worked for me. But mine is v1 because it did not come with a v2 sticker as the documentation says. This device has a slightly different startup procedure in the upstream code as seen here, though I'm not sure if it makes a difference. The only thing it seems to change is that the v2 startup flashes a lot more compared to v1 on mine.

I did a quick change to this to implement v1 as well, though I don't know if this is how you would want to implement it. See this diff.patch

It would be great to support v1 as well. I think we could solve this with feature-gating without much code duplication.