mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 23:18:10 +01:00
Improve the gamma settings for the S3-Box-lite display (#5046)
This commit is contained in:
parent
4cc0f3fd53
commit
63d3a0e8b3
1 changed files with 6 additions and 6 deletions
|
@ -218,12 +218,12 @@ static const uint8_t PROGMEM INITCMD_S3BOXLITE[] = {
|
||||||
ILI9XXX_DFUNCTR , 3, 0x08, 0x82, 0x27, // Display Function Control
|
ILI9XXX_DFUNCTR , 3, 0x08, 0x82, 0x27, // Display Function Control
|
||||||
0xF2, 1, 0x00, // 3Gamma Function Disable
|
0xF2, 1, 0x00, // 3Gamma Function Disable
|
||||||
ILI9XXX_GAMMASET , 1, 0x01, // Gamma curve selected
|
ILI9XXX_GAMMASET , 1, 0x01, // Gamma curve selected
|
||||||
ILI9XXX_GMCTRP1 , 15, 0x0F, 0x31, 0x2B, 0x0C, 0x0E, 0x08, // Set Gamma
|
ILI9XXX_GMCTRP1 , 14, 0xF0, 0x09, 0x0B, 0x06, 0x04, 0x15, // Set Gamma
|
||||||
0x4E, 0xF1, 0x37, 0x07, 0x10, 0x03,
|
0x2F, 0x54, 0x42, 0x3C, 0x17, 0x14,
|
||||||
0x0E, 0x09, 0x00,
|
0x18, 0x1B,
|
||||||
ILI9XXX_GMCTRN1 , 15, 0x00, 0x0E, 0x14, 0x03, 0x11, 0x07, // Set Gamma
|
ILI9XXX_GMCTRN1 , 14, 0xE0, 0x09, 0x0B, 0x06, 0x04, 0x03, // Set Gamma
|
||||||
0x31, 0xC1, 0x48, 0x08, 0x0F, 0x0C,
|
0x2B, 0x43, 0x42, 0x3B, 0x16, 0x14,
|
||||||
0x31, 0x36, 0x0F,
|
0x17, 0x1B,
|
||||||
ILI9XXX_SLPOUT , 0x80, // Exit Sleep
|
ILI9XXX_SLPOUT , 0x80, // Exit Sleep
|
||||||
ILI9XXX_DISPON , 0x80, // Display on
|
ILI9XXX_DISPON , 0x80, // Display on
|
||||||
0x00 // End of list
|
0x00 // End of list
|
||||||
|
|
Loading…
Reference in a new issue