Flipped the display & inverted the colour

This commit is contained in:
Muhammad Zaheer 2024-10-09 23:20:29 +05:30
parent 0e1da2c4ae
commit afd9205225

View File

@ -201,10 +201,9 @@ void ILI9341_Init(void) //Changed
LCD_WR_REG(0x29); // Display turn on
LCD_direction(ROTATE_90);
LCD_WR_REG(0x36);
LCD_WR_DATA(0x28 | 128 | 64);//(0x20);
LCD_WR_REG(0x21);
LCD_WR_DATA(0x28);
LCD_WR_REG(0x20);
//-------------------------------
}