#include <SPI.h>
#include <Adafruit_GFX.h>
#include <Adafruit_ILI9341.h>
#define TFT_CS 15
#define TFT_DC 2
#define TFT_RST -1
#define TFT_BL 21
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_RST);
void setup() {
pinMode(TFT_BL, OUTPUT);
digitalWrite(TFT_BL, HIGH);
tft.begin();
tft.setCursor(10, 20);
tft.setTextColor(ILI9341_WHITE);
tft.setTextSize(2);
tft.println("Hello World!");
tft.setTextColor(ILI9341_YELLOW);
tft.setTextSize(3);
tft.println("Code by Arvind");
}
void loop() {}
https://wokwi.com/projects/464279434837161985