Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add screen flip function for ST7789 #150

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add screen flip function for ST7789 #150

wants to merge 2 commits into from

Conversation

zivyuan
Copy link

@zivyuan zivyuan commented Aug 5, 2021

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

Describe screen rotation in a human-readable way
Copy link

@meithon meithon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This program was worked in a ST7789 1.14inch(135*140px) display perfectly.
you was helpful becouse have make this. thanks :).

@jbry
Copy link

jbry commented Jul 11, 2024

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants