Initial release: Ratdeck v1.0.0

Reticulum transport node + LXMF encrypted messenger for LilyGo T-Deck Plus.
ESP32-S3, 16MB flash, SX1262 LoRa, LovyanGFX display, NimBLE BLE.
This commit is contained in:
DeFiDude
2026-03-06 12:40:34 -07:00
commit 1255f0db51
92 changed files with 9473 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
#include "Display.h"
bool Display::begin() {
_gfx.init();
_gfx.setRotation(1); // Landscape: 320x240
_gfx.setBrightness(128);
_gfx.fillScreen(TFT_BLACK);
Serial.printf("[DISPLAY] Initialized: %dx%d (rotation=1, LovyanGFX direct)\n",
_gfx.width(), _gfx.height());
// Quick visual test: draw colored rectangles directly
_gfx.fillRect(0, 0, 107, 120, TFT_RED);
_gfx.fillRect(107, 0, 107, 120, TFT_GREEN);
_gfx.fillRect(214, 0, 106, 120, TFT_BLUE);
_gfx.setTextColor(TFT_WHITE, TFT_BLACK);
_gfx.setTextSize(2);
_gfx.setCursor(60, 140);
_gfx.print("RATDECK DISPLAY TEST");
delay(1500);
_gfx.fillScreen(TFT_BLACK);
return true;
}
void Display::setBrightness(uint8_t level) {
_gfx.setBrightness(level);
}
void Display::sleep() {
_gfx.sleep();
}
void Display::wakeup() {
_gfx.wakeup();
}