/*
ESP32 + ILI9341 LCD Basic Example
https://wokwi.com/projects/325324981270479442
*/
#include "SPI.h"
#include "Adafruit_GFX.h"
#include "Adafruit_ILI9341.h"
#define TFT_DC 2
#define TFT_CS 15
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC);
void setup() {
Serial.begin(115200);
tft.begin();
}
void loop() {
tft.setCursor(24, 180);
tft.setTextColor(ILI9341_GREEN);
tft.setTextSize(2);
tft.println("NOPPHON");
delay(1000);
}