Skip to content

Commit 036d3db

Browse files
authored
fix init sequence in board.c
For lilygo_tembed_esp32s3 in display init sequence added command INVON and changed MADCTL from BRG to RGB
1 parent 340cc63 commit 036d3db

File tree

1 file changed

+2
-1
lines changed
  • ports/espressif/boards/lilygo_tembed_esp32s3

1 file changed

+2
-1
lines changed

ports/espressif/boards/lilygo_tembed_esp32s3/board.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ uint8_t display_init_sequence[] = {
1717
0x01, 0x80, 0x96, // _SWRESET and Delay 150ms
1818
0x11, 0x80, 0xFF, // _SLPOUT and Delay 500ms
1919
0x3A, 0x81, 0x55, 0x0A, // _COLMOD and Delay 10ms
20+
0x21, 0x80, 0xA, // _INVON
2021
0x13, 0x80, 0x0A, // _NORON and Delay 10ms
21-
0x36, 0x01, 0xC8, // _MADCTL
22+
0x36, 0x01, 0xC0, // _MADCTL
2223
0x29, 0x80, 0xFF, // _DISPON and Delay 500ms
2324
};
2425

0 commit comments

Comments
 (0)