Flipped the display & inverted the colour
This commit is contained in:
parent
0e1da2c4ae
commit
afd9205225
@ -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);
|
||||
//-------------------------------
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user