Inverted (mirror) text on TFT shield for Arduino ili9486 parallel #3110
Replies: 5 comments 2 replies
-
Provide a link to the display vendors page. The driver may not be an ILI9486. Alternatively if may just be another configuration variant, in which case you may need to adjust the flip/mirror settings in the init code here: You may find that setRotation with values 4 to 7 corrects the problem. |
Beta Was this translation helpful? Give feedback.
-
Hello Bodmer, thank you for the suggestion to try with the rotation (setRotation()). I tested it with this code in the Arduino IDE: |
Beta Was this translation helpful? Give feedback.
-
#include <SPI.h> void loop() { } |
Beta Was this translation helpful? Give feedback.
-
The result, the text rotates, but it seems that only in the horizontal position, the text is displayed correctly. |
Beta Was this translation helpful? Give feedback.
-
It seems you have a variant of the displays I have. The TFT_MAD_MX/V/Y bits change the way the pixels are written to the display. I have not seen correctly rendered characters written in reverse before so do check with the vendor that you have an ILI9486 display. Unfortunately the only option is to try different settings in the rotation code. |
Beta Was this translation helpful? Give feedback.
-
Hello, I have an issue with a TFT shield for Arduino.
Screen controller: ili9486
Microcontroller: ESP32
IDE: Arduino
Library version TFT_espi: 2.5.43
Data bus: 8-bit parallel
Problem: I have a 3.5-inch TFT shield (480X320) that uses an 8-bit parallel bus, ili9486 driver. The TFT works well with the ESP32, with good examples and colors. However, the problem arises when I display text with a certain screen rotation (setRotation(0);). The text appears inverted or mirrored.
I'm not sure if it's visible, but inverted text is appearing at the top of the screen:
Here is the result of a sketch that I wrote, in which I think the problem is more noticeable:
"Back of the TFT shield:
Help me, please, Bodmer.
Beta Was this translation helpful? Give feedback.
All reactions