Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 7 months ago.
Why double buffering?
EPD doesn't support fast refresh for animation, why do you use double buffering for EPD?
We can use single buffer, draw it in buffered canvas, then refresh the screen with buffer content. I think that's enough.
Question relating to:
1 Answer
10 years, 7 months ago.
To draw on the display it first needs to draw the inverse of the last image. So for an operation it both needs the old and the new image.
Now personally I modified it for my project to use a single buffer to have more memory left: It first draws the inverse of the last image, and then it makes the new one and puts it in its buffer, and draws that one. But then you need to completely draw the new image between those two stages, which is not always preferred.