Waveshare 4.2 b/w revision 2.2. not working with GxEPD2

Hi,

I have a problem with the ePaper from Waveshare, 4.2", Rev 2.2 - the display does not work with GxEPD2 :frowning: At least that's how it looks. I still have a board with Rev 2.1, which works without any problems.

Question: Does anyone have the Rev 2.2. of the 4.2" b/W EPaper from Waveshare running with GxEPD2? If so, with which settings?

//Frank

Hi, @ahnungsvoll , welcome to the forum!

There are currently 3 b/w 4.2" panels supported by GxEPD2:

//#define GxEPD2_DRIVER_CLASS GxEPD2_420     // GDEW042T2   400x300, UC8176 (IL0398), (WFT042CZ15)
//#define GxEPD2_DRIVER_CLASS GxEPD2_420_M01 // GDEW042M01  400x300, UC8176 (IL0398), (WFT042CZ15)
//#define GxEPD2_DRIVER_CLASS GxEPD2_420_GDEY042T81 // GDEY042T81 400x300, SSD1683 (no inking)

Did you try with all three?
-jz-

OH SORRY ! I I thought I had tested everything, but I had forgotten the last configuration :frowning:

With the setting for GDEY042T81 the Rev 2.2 runs; it's a different problem now with partitional updates (I also have with the 2.9" display) but that's another topic.

Sorry again that I didn't test them all in advance and thanks for the hint :wink:

//Frank

Hi, I'm sorry to write here, but it is kinda the same problem.
new style display selection works with GDEY042T81, but old does not and I'm getting error: "Compilation error: 'GDEY042T81' does not name a type".
checked your GxEPD2_Example on our ESPink board with ESP32, uncommented GxEPD2_BW<GxEPD2_420_GDEY042T81, GxEPD2_420_GDEY042T81::HEIGHT> display(GxEPD2_420_GDEY042T81(/*CS=5*/ SS, /*DC=*/ 17, /*RST=*/ 16, /*BUSY=*/ 4)); GDEY042T81, 400x300, SSD1683 (no inking)
Before with GDEY042T91 it was OK.
Thanks.

Hi @laskakit , welcome to the forum!

Thank you for reporting this issue!

It looks like some comment slashes got lost.

No, this error was already in Version 1.5.1, when GDEY042T91 was added. It went unnoticed.
-jz-

Thanks,
Can't find, how to write PM. I would love to provide E-papers, you don't have covered in your library. How I can contact you?
Be free to delete it, because it's off topic.

You are welcome. You can either click on my name or picture, and then click message.
Or you can click on the flag symbol below a post and select send a message to. Doesn't seem to work.

Please note that I need to be rather selective concerning e-paper display I support with GxEPD2.
Originally I supported only panels sold by Dalian Good Display. These panels are well documented since quite some time. But now e.g. Waveshare sells displays with panels from other sources, therefore I am willing to support other panels as well, if they are well documented, and come with demo examples and are of the same kind using SPI interface.
-jz-

Filling kinda dumb :slight_smile: .
can't find message button

do you see the Message button on the right?
If I see my own summary, it isn't there, because I can't send a message to myself.

I got your summary, by right-click on your name, and selecting open in new tab.

BTW: I sent you a message. You could simply reply to it.

no, no in your or my account

Maybe your trust level as Newbie doesn't allow yet. Might work after a few more posts.
Didn't you receive my messages?

BTW: it is not a good idea to post your own Summary or Activity, as it reveals hidden information, such as Email account. But it is helpful to find your shop. Congratulations!

I think I saw you need 5 posts created to get your trust level raised to normal.

where is this header file located to configure the above mentioned(#define GxEPD2_DRIVER_CLASS GxEPD2_420_GDEY042T81 // GDEY042T81 400x300, SSD1683 (no inking)).
I am unable to find this file in GxEPD2. please help

E.G. GxEPD2_Example/GxEPD2_display_selection_new_style.h