Hello friends Arduino ILI9341 2.8 screen text upright

Arduino ILI9341 2.8 screen text is vertical How can I make it horizontal Thanks for your help

#include <Adafruit_ILI9341.h> // include Adafruit ILI9341 TFT library
#define TFT_CS 8 // TFT CS pin is connected to arduino pin 8
#define TFT_RST 9 // TFT RST pin is connected to arduino pin 9
#define TFT_DC 10 // TFT DC pin is connected to arduino pin 10

Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_RST);

void setup(void) {

tft.begin(); // initialize LCD
tft.fillScreen(ILI9341_BLACK);
tft.setTextSize(2);
tft.println("MERABA AMCACIM");

}

void loop(void) {

}

Your topic has been moved to a suitable location on the forum. Please read the sticky topics in Uncategorized - Arduino Forum which explain why you should not have posted in :Uncategorized".

Also please read How to get the best out of this forum to learn how to post code using code tags.

The
tft.setRotation(rotation); // 0 - 3 to rotate screen
function may be what you want.

1 Like

Teşekür ederim

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.