#include <Adafruit_ILI9341.h>
#include <Adafruit_GFX.h>
#define TFT_CS 17
#define TFT_DC 7
#define TFT_RST 6
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_RST);
void setup() {
Serial1.begin(9600);
tft.begin();
tft.setCursor(0,0);
tft.setRotation(1);
tft.setTextColor(ILI9341_WHITE);
tft.setTextSize(2);
tft.print("Connecting to WiFi");
}
void loop() {
Serial1.println("hello");
delay(2000);
}