Skip to content

Commit 61bf575

Browse files
Add some register configuration for 1.75 amoled screen to adapt to the new screen (#646)
1 parent 180ca89 commit 61bf575

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

main/boards/waveshare-s3-touch-amoled-1.75/esp32-s3-touch-amoled-1.75.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ class Pmic : public Axp2101 {
6464
#define LCD_OPCODE_WRITE_COLOR (0x32ULL)
6565

6666
static const sh8601_lcd_init_cmd_t vendor_specific_init[] = {
67+
// set display to qspi mode
68+
{0xFE, (uint8_t[]){0x20}, 1, 0},
69+
{0x19, (uint8_t[]){0x10}, 1, 0},
70+
{0x1C, (uint8_t[]){0xA0}, 1, 0},
71+
6772
{0xFE, (uint8_t[]){0x00}, 1, 0},
6873
{0xC4, (uint8_t[]){0x80}, 1, 0},
6974
{0x3A, (uint8_t[]){0x55}, 1, 0},

0 commit comments

Comments
 (0)