Allow screen rotation for T190

This commit is contained in:
KonradIT
2024-12-11 23:07:00 +01:00
parent a17d969a6f
commit 3372e74ac8
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -241,6 +241,7 @@ build_flags =
-DRADIOLIB_EXCLUDE_SX1231=true
-DRADIOLIB_EXCLUDE_SX127X=true
-DRADIOLIB_EXCLUDE_SX128X=true
-DROTATION=1 # 1 = default; 3 = inverted
lib_deps =
SPI
Wire
+1 -1
View File
@@ -852,7 +852,7 @@ void setup()
/// st7789->setSPISpeed(3000000); /// default ~ 1000000
Serial.printf("Ready!\r\n");
st7789->setRotation(1);
st7789->setRotation(ROTATION);
st7789->fillScreen(ST7789_BLACK);
drawText(0, 0, "init >>> ", ST7789_WHITE);