devbis / st7789py_mpy

Slow micropython driver for 240x240 ST7789 display without CS pin from Ali Express, written in MicroPython
MIT License
82 stars 33 forks source link

Mirroring issues #8

Open antirez opened 8 months ago

antirez commented 8 months ago

Hi @devbis

While using this driver with the T-WATCH S3 I ran into the problem that the display is rotated 180 degrees. Reading your code and the datasheet of the device, I tried to set MADCTL_MX and MADCTL_MY in the MADCTL register, however while in this way I can see the device oriented correctly, there is a odd offset: it shows only 2/3 of the display 240x240 area. I don't know if it's some issue with the scrolling feature of the chip or what. I wonder if you know anything about it. Thanks.