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