#include <TFT_eSPI.h>
TFT_eSPI tft = TFT_eSPI();
void setup() {
Serial.begin(115200);
tft.init();
tft.setRotation(1); // Liggende läge (320x240)
tft.fillScreen(TFT_BLACK);
tft.setTextColor(TFT_WHITE, TFT_BLACK);
tft.setTextDatum(MC_DATUM); // Centrera text
tft.drawString("Hello World", tft.width() / 2, tft.height() / 2);
}
void loop() {
// Ingenting här
}