// #include "SPI.h"
// #include "Adafruit_GFX.h"
// #include "Adafruit_ILI9341.h"
// #define TFT_DC 9
// #define TFT_CS 10
// Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC);
// void setup() {
// tft.begin();
// tft.setCursor(26, 120);
// tft.setTextColor(ILI9341_RED);
// tft.setTextSize(3);
// tft.println("Привет, ТФТ");
// tft.setCursor(20, 160);
// tft.setTextColor(ILI9341_GREEN);
// tft.setTextSize(2);
// tft.println("У меня есть цвета?");
// }
// void loop() { }
#include <TFT_eSPI.h>
TFT_eSPI tft = TFT_eSPI();
void setup() {
tft.init();
tft.setRotation(1);
tft.fillScreen(TFT_BLACK);
tft.setCursor(26, 120);
tft.setTextColor(TFT_RED, TFT_BLACK);
tft.setTextSize(3);
tft.print("Привет, ТФТ");
tft.setCursor(20, 160);
tft.setTextColor(TFT_GREEN, TFT_BLACK);
tft.setTextSize(2);
tft.print("У меня есть цвета?");
}