From a771438a08362e477e5523d8888ed84d00418058 Mon Sep 17 00:00:00 2001 From: fvanroie Date: Sat, 12 Oct 2024 23:57:34 +0200 Subject: [PATCH] Add esp32-2432s028_v2 #396 --- user_setups/esp32/esp32-2432s028.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/user_setups/esp32/esp32-2432s028.ini b/user_setups/esp32/esp32-2432s028.ini index 136c1260..5fa007eb 100644 --- a/user_setups/esp32/esp32-2432s028.ini +++ b/user_setups/esp32/esp32-2432s028.ini @@ -26,6 +26,7 @@ build_flags = -D SUPPORT_TRANSACTIONS -D SPI_READ_FREQUENCY=20000000 -D TOUCH_OFFSET_ROTATION=0 ; 1=swap xy, 2=invert x, 4=inverty + -D TFT_RGB_ORDER=0 ; Colour order Red-Green-Blue -D ESP32_2432S028R=1 ;endregion @@ -152,6 +153,7 @@ build_flags = ; -D USER_SETUP_LOADED=1 -D LGFX_USE_V1=1 -D ILI9341_DRIVER=1 ; + -D INVERT_COLORS=0 -D TFT_ROTATION=6 ; 0=0, 1=90, 2=180 or 3=270 degree, Mirrors: 6, 5, 4, 3 -D TFT_WIDTH=320 -D TFT_HEIGHT=240