We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d71d22 commit 59fd547Copy full SHA for 59fd547
1 file changed
ports/espressif/boards/lilygo_ttgo_tdisplay_esp32_4m/board.c
@@ -40,7 +40,7 @@ uint8_t display_init_sequence[] = {
40
0x36, 0x01, 0x08, // _MADCTL
41
0x21, DELAY, 0x0A, // _INVON Hack and Delay 10ms
42
0x13, DELAY, 0x0A, // _NORON and Delay 10ms
43
- 0x36, 0x01, 0xC0, // _MADCTL
+ 0x36, 0x01, 0x68, // _MADCTL
44
0x29, DELAY, 0xFF, // _DISPON and Delay 500ms
45
};
46
@@ -79,9 +79,9 @@ static void display_init(void) {
79
bus,
80
240, // width (after rotation)
81
135, // height (after rotation)
82
- 53, // column start
83
- 40, // row start
84
- 270, // rotation
+ 40, // column start
+ 53, // row start
+ 0, // rotation
85
16, // color depth
86
false, // grayscale
87
false, // pixels in a byte share a row. Only valid for depths < 8
0 commit comments