txoof / epdlib

Python library for creating and writing modular layouts for e-paper screens
GNU General Public License v3.0
16 stars 8 forks source link

Rotation of EPD display: Waveshare 6" (800x600), rotations dont match documentation #20

Closed jhaake2308 closed 2 years ago

jhaake2308 commented 2 years ago

Hi, this is concerning the documented rotation options of EPD display: With my waveshare 6" (800x600px - https://www.waveshare.com/wiki/6inch_e-Paper_HAT), the rotations dont match the documentation. Here this is matching: cable left : 0; cable right: 180; cable top: 90; cable bottom: -90

rotation = 0: Horizontal-WS

rotation = 90:

Vertical

If you need to run test-code against my setup, feel free to get in touch. If you need any more data, pictures, etc., also get in touch.

Thank you and BR Julius

txoof commented 2 years ago

@jhaake2308 ahhh. I understand the issue much better. Thanks for the photos.

The 6" screen is set up differently than the other it8951 screens. I'll update the documentation to match.

Long-term the solution is a bit more complicated as this screen is an exception.

txoof commented 2 years ago

@jhaake2308 Thanks for the issue; I've updated the docs to reflect this