mirror of
https://github.com/Genaker/LoraSA.git
synced 2026-07-05 01:12:11 +02:00
Allow screen rotation for T190
This commit is contained in:
@@ -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
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user