Search code examples
cdriverstm32avrlcd

how to set the orientation of ili9325 lcd display


I want to change the orientation of contents on ili9325 display. according to the datasheet I should change the AM and ID0 and ID1 registers to change the orientation of GRAM data. but when I change these registers and display some data on the LCD, it won't change the orientation.

datasheet


Solution

  • It is usually an init problem.

    When you initialize these LCDs in a wrong way, sometimes they won't work correctly. So, check your initialization process and then rotate the lcd again. that should work. (read the initialization process from the datasheet)