UTFT, rotate the screen 180 degrees; hx8352a TFT Driver

Hi,

have read the older thread on this topic. There was some information how to change some code in initlcd.h of the TFT-Driver in UTFT library. This was shown for other driver (ssd1963)

Unfortunately I do not know which code I would have to change for my driver (hx8352a).

Display is a 3.2" WD TFT from ITead which I can not rotate in my case. So I would have to rotate the output for 180 degrees.

BR

Branko

In initlcd.h find these lines

	LCD_Write_COM(0x55);  
	LCD_Write_DATA(0x00);

change to

	LCD_Write_COM(0x55);  
	LCD_Write_DATA(0x00 ^ 0x0C);

David.

Hello,

thank you so much for helping.

Now it works 180° around!

BR

Branko

"Bronco" was the brand name of shiny toilet paper at my grandmother's house in the 1950s.

It did not perform well.

David.