user63653: i am working on a project on my arduino mega2560. I want to show reading of the sensors on the TFT display, the problem is the text displayed on the screen is mirrored. Since i am very new to arduino i don't know how to fix the problem. I have check a few videos on youtube but nothing helped. I am using the example from the UTFT library arduino (AVR) => UTFT_DEMO_480x320

user4143: The orientation of the display is controlled by the "Set Address Mode" command (0x36) at line 42 of the ILI9481 driver.
The current value is 0x0A which is 00001010 in binary.  According to the datasheet (8.2.25) bit 6 is "Column Address Order", and that is set to "Left to Right" currently.
Turning that bit on should reverse the column order for the display.
So changing those two lines of code to:
LCD_Write_COM(0x36);
LCD_Write_DATA(0x4A);

should have the desired effect.

user77875: Had this same problem with everything mirrored/backward.  Not sure you're still trying, but for any others with this issue, here's how I addressed it..
If using the UTFT library from RinkyDink electronics, open up their initlcd.h file.  In the section for Memory Access Control (lines 85-86 in version I have), change the write to:
LCD_Write_DATA(0x08);
Bit 0 controls vertical flip, Bit 1 controls horizontal flip.

63653: <p>i am working on a project on my arduino mega2560. I want to show reading of the sensors on the TFT display, the problem is the text displayed on the screen is mirrored. Since i am very new to arduino i don't know how to fix the problem. I have check a few videos on youtube but nothing helped. I am using the example from the UTFT library arduino (AVR) =&gt; UTFT_DEMO_480x320</p>
 4143: <p>The orientation of the display is controlled by the &quot;Set Address Mode&quot; command (0x36) at <a href="https://github.com/dgolda/UTFT/blob/master/tft_drivers/ili9481/initlcd.h#L42" rel="nofollow noreferrer">line 42</a> of the ILI9481 driver.</p>
<p>The current value is <code>0x0A</code> which is <code>00001010</code> in binary.  According to <a href="https://www.displayfuture.com/Display/datasheet/controller/ILI9481.pdf" rel="nofollow noreferrer">the datasheet</a> (8.2.25) bit 6 is &quot;Column Address Order&quot;, and that is set to &quot;Left to Right&quot; currently.</p>
<p>Turning that bit on should reverse the column order for the display.</p>
<p>So changing those two lines of code to:</p>
<pre><code>LCD_Write_COM(0x36);
LCD_Write_DATA(0x4A);
</code></pre>
<p>should have the desired effect.</p>
 77875: <p>Had this same problem with everything mirrored/backward.  Not sure you're still trying, but for any others with this issue, here's how I addressed it..</p>
<p>If using the UTFT library from RinkyDink electronics, open up their initlcd.h file.  In the section for Memory Access Control (lines 85-86 in version I have), change the write to:</p>
<p>LCD_Write_DATA(0x08);</p>
<p>Bit 0 controls vertical flip, Bit 1 controls horizontal flip.</p>
