When reading the Waveshare spec (link below) on my display, it says partial refresh takes 0,3 seconds, but when I do a partial refresh, it takes almost exactly 3 seconds.
Here's the code-section with the partial refresh. Am I doing something wrong? How can I make it go so much faster?
I am basically just running this over and over again and printing the milliseconds since last update.
Ok, so the do-while is run 13 times. If each of those is 0.3 seconds, it explains the thing.
And the reason it is run 13 times is, if I understand things correctly, because the memory of my Pro Micro is not large enough to fit the frame-buffer for the partial window in one go.
Correct?
But I just got a Pi Pico, so I might try that one instead then, to see if that one will work better.
Complaining may get you nowhere. But providing diagnostic output may get you some help.
Diagnostic output may even help you see what happens.
Diagnostic output from Serial Monitor should be shown in a code window.
Note the MAX_HEIGHT(GxEPD2_DRIVER_CLASS) argument in there. This sets page height to the same as the display height, meaning you only use one page. This will only work if your device has enough RAM (like the Pi Pico)
If you wanted to, for some reason, you could also manually set a different page height there.