how turning to text in TFT 1.8 ICD.

Hej
I bought a 1.8 TFT display, driver st7735
from Joy-IT.
How to turn the text on the display. from horizontal to vertical?

And is there a list of the different commanders how to control the display.

#include <TFT.h>
#include <SPI.h>

#define cs 10
#define dc 9
#define rst 8

TFT TFTscreen = TFT (cs, dc, rst);




void setup() {
  TFTscreen.begin();
  TFTscreen.background(255, 125, 2);
  TFTscreen.stroke(0, 0, 255);

}

void loop() {
  TFTscreen.setTextSize(3);
  TFTscreen.text("Joy-IT", 20,00);
  TFTscreen.setTextSize(2);
  TFTscreen.text("Hej med dig", 0, 40);
  TFTscreen.setTextSize(2);
  TFTscreen.text("Super god TFT", 0, 60);
  delay(250);
}

Thanks :slight_smile:

Do you want to change from Portrait to Landscape?

Or do you really want to print vertically e.g.

HORIZONTAL

V
E
R
T
I
C
A
L

Incidentally, bin the TFT.h library. Much better to use regular Adafruit_ST7735.h library.

David.