mcauser / micropython-waveshare-epaper

MicroPython drivers for Waveshare e-paper modules
MIT License
311 stars 79 forks source link

How to display landscape #15

Open Pidbid opened 3 years ago

Pidbid commented 3 years ago

When I use it, I can only display it vertically. I need to display it horizontally. What should I do?Thanks

dietervansteenwegen commented 3 years ago

Using set_rotate() works for the methods inside this module, not when using the framebuffer methods. I guess an option would be to use double buffers (one for drawing and another for sending to the screen) and translate the working buffer into the display buffer for each display redraw. Pretty much a roundabout way, but would possible work.