#include "SPI.h"
#include "Adafruit_GFX.h"
#include "Adafruit_ILI9341.h"
#define TFT_SCK 18
#define TFT_MOSI 23
#define TFT_MISO 19
#define TFT_CS 22
#define TFT_DC 21
#define TFT_RESET 17
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC);
void setup() {
tft.begin();
tft.setRotation(1);
tft.fillScreen(0xFFFF);
tft.setCursor(18, 10);
tft.setTextColor(ILI9341_RED);
tft.setTextSize(2);
tft.println("SRI SAIRAM ENG. CLG");
tft.setCursor(24, 82);
tft.setTextColor(ILI9341_BLUE);
tft.setTextSize(2);
tft.println("DEPT. IT");
}
void loop() { delay(10); }