Skip to content

Commit 6a8c82d

Browse files
authored
Merge pull request #5573 from ladyada/main
fix speed by not rotating
2 parents accadf9 + 104af80 commit 6a8c82d

File tree

1 file changed

+4
-4
lines changed
  • ports/espressif/boards/adafruit_feather_esp32s2_tft

1 file changed

+4
-4
lines changed

ports/espressif/boards/adafruit_feather_esp32s2_tft/board.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ uint8_t display_init_sequence[] = {
4545
// normal display mode on
4646
0x13, 0,
4747
// display and color format settings
48-
0x36, 1, 0x08,
48+
0x36, 1, 0x60,
4949
0xB6, 2, 0x0A, 0x82,
5050
0x3A, 1 | DELAY, 0x55, 10,
5151
// ST7789V frame rate setting
@@ -111,9 +111,9 @@ void board_init(void) {
111111
bus,
112112
240, // width (after rotation)
113113
135, // height (after rotation)
114-
52, // column start
115-
40, // row start
116-
90, // rotation
114+
40, // column start
115+
52, // row start
116+
0, // rotation
117117
16, // color depth
118118
false, // grayscale
119119
false, // pixels in a byte share a row. Only valid for depths < 8

0 commit comments

Comments
 (0)