File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
ports/espressif/boards/lilygo_ttgo_tdisplay_esp32_4m Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ uint8_t display_init_sequence[] = {
40
40
0x36 , 0x01 , 0x08 , // _MADCTL
41
41
0x21 , DELAY , 0x0A , // _INVON Hack and Delay 10ms
42
42
0x13 , DELAY , 0x0A , // _NORON and Delay 10ms
43
- 0x36 , 0x01 , 0xC0 , // _MADCTL
43
+ 0x36 , 0x01 , 0x68 , // _MADCTL
44
44
0x29 , DELAY , 0xFF , // _DISPON and Delay 500ms
45
45
};
46
46
@@ -79,9 +79,9 @@ static void display_init(void) {
79
79
bus ,
80
80
240 , // width (after rotation)
81
81
135 , // height (after rotation)
82
- 53 , // column start
83
- 40 , // row start
84
- 270 , // rotation
82
+ 40 , // column start
83
+ 53 , // row start
84
+ 0 , // rotation
85
85
16 , // color depth
86
86
false, // grayscale
87
87
false, // pixels in a byte share a row. Only valid for depths < 8
You can’t perform that action at this time.
0 commit comments