Skip to content
This repository has been archived by the owner on Sep 26, 2018. It is now read-only.

Mirrored text #9

Closed
RafaEspG opened this issue Apr 26, 2016 · 5 comments
Closed

Mirrored text #9

RafaEspG opened this issue Apr 26, 2016 · 5 comments

Comments

@RafaEspG
Copy link

RafaEspG commented Apr 26, 2016

First, thanks for the code, and an apology for my bad english.

It work very fine (the touch screen and colors, works fine in Arduino Mega 2560) but i have a problem when im using "tft.setRotation(1);" , the text is mirrored and coordinates of the drawings too, and i can´t fix this.

Can you help me, please?

@RafaEspG RafaEspG changed the title mirrored text Mirrored text Apr 26, 2016
@nopnop2002
Copy link

Perhaps Your TFT controller is NOT SPFD5408.
It's ILI9342.

https://forum.arduino.cc/index.php?topic=473885.0

@JoaoLopesF
Copy link
Owner

HI, in line 309 of SPFD5408_Adafruit_TFTLCD.cpp, try uncomment this lines:
// *** SPFD5408 change -- Begin
// Not tested yet
//writeRegister8(ILI9341_INVERTOFF, 0);
//delay(500);
Regards
Joao

@wkyong
Copy link

wkyong commented Oct 10, 2017

I am using your library for my 2.8inch TFT screen from MCUfriend. I manage to get it to display the program using identifier ID 0x7575. However I find the text all mirrored. I had tried to add in the code 0x16, 0x08 to set the MY, MX and MV to 0, 0, 0 but failed. I am not able to find which code actually inverted the screen. Supplier of this screen claim they use a SPFD 5408 controller which lead me to this library. Please help me by providing some insight on which code I should change to rectify this problem.

@wkyong
Copy link

wkyong commented Oct 11, 2017

I had my problem solved. Upon checking the lcd ID, it shows 4747 which link to HX8437D lcd controller. By using the correct library the TFT screen works flawlessly.

@marcudanf
Copy link

@wkyong I have the same issue, can you please send a link to that library??

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

No branches or pull requests

5 participants