Waveshare e-paper displays with SPI

bytecrusher:
Attached you will find a short example of my code.
Here i have the following situation:
not every pixel has the lost contrast issue.
only, that pixel that is in the updatewindow area.
Not every pixel of a number has the same contrast.

is there any other way, to update partial area (or the hole screen), without flickering?

I have re-introduced delays of 2 x 300ms in the partial update code, that was present in the demo code from Waveshare. This delay is now declared as a macro #define PU_DELAY 300 in the classes .cpp files to allow easy experimentation. It should improve contrast degradation.

Note that these e-paper displays have a specified lifetime of 5 years or 1'000'000 update cycles.
So they are not really suitable for 1s update cycles (as in your example with the modification), which could result in serious degradation or end of life after 12 days. You can download the specification from good-display.com.

I found one specification with more details on lifetime:

So update interval should be at least 3 minutes of long lifetime.

Fortunately I took this interval for my temperature and humidity displays.