E-paper HAT from Waveshare. Test with UNO

@andersborgstrom, Hi, welcome to the forum!

Please read How to get the best out of this forum!

Please note that I don't answer technical questions in personal messages. But you forced my attention.

My experience with the actual versions of Waveshare example code is they work, if all is set correctly.

Therefore, posting the example is welcome, helps other responders, but not important for me.

The important information would be your wiring, point to point (pin to pin).
And all settings on the HAT.

And for all other readers a link to your display, preferably of the Waveshare website.

Do you get any diagnostic output in Serial Monitor?

Jean-Marc