From 104af801b7d0e15e415ee4c88705159f49eb5325 Mon Sep 17 00:00:00 2001 From: lady ada Date: Thu, 11 Nov 2021 21:39:23 -0500 Subject: [PATCH] fix speed by not rotating --- .../espressif/boards/adafruit_feather_esp32s2_tft/board.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ports/espressif/boards/adafruit_feather_esp32s2_tft/board.c b/ports/espressif/boards/adafruit_feather_esp32s2_tft/board.c index b82021d89d..adc4ae1b01 100644 --- a/ports/espressif/boards/adafruit_feather_esp32s2_tft/board.c +++ b/ports/espressif/boards/adafruit_feather_esp32s2_tft/board.c @@ -45,7 +45,7 @@ uint8_t display_init_sequence[] = { // normal display mode on 0x13, 0, // display and color format settings - 0x36, 1, 0x08, + 0x36, 1, 0x60, 0xB6, 2, 0x0A, 0x82, 0x3A, 1 | DELAY, 0x55, 10, // ST7789V frame rate setting @@ -111,9 +111,9 @@ void board_init(void) { bus, 240, // width (after rotation) 135, // height (after rotation) - 52, // column start - 40, // row start - 90, // rotation + 40, // column start + 52, // row start + 0, // rotation 16, // color depth false, // grayscale false, // pixels in a byte share a row. Only valid for depths < 8