Adafruit-ST7735-Library icon indicating copy to clipboard operation
Adafruit-ST7735-Library copied to clipboard

Add screen flip function for ST7789

Open zivyuan opened this issue 3 years ago • 1 comments

Screen flip function was useful in some applications that use mirrors.

Add flip flag added to setRotation() function.

void setRotation(uint8_t r, bool flip);

Only tested on 1.3" TFT screen with 7 pins.

1.3" TFT with 7 pins

zivyuan avatar Aug 05 '21 19:08 zivyuan

Found this because I was using this: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/hw-reference/esp32s2/user-guide-esp-lyrap-lcd32-v1.1.html and everything was mirrored. I know this PR is old - but wanted to express my thanks as it got me out of a hole :)

jbry avatar Jul 11 '24 21:07 jbry