/*
Simple "Hello World" for ILI9341 LCD
https://wokwi.com/arduino/projects/308024602434470466
*/
#include "SPI.h"
#include "Adafruit_GFX.h"
#include "Adafruit_ILI9341.h"
#define TFT_OLIVE 0x7BE0 /* 128, 128, 0 */
#define TFT_DC 48
#define TFT_CS 53
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC);
void setup() {
tft.begin();
tft.setRotation(4);
tft.setCursor(40, 0);
tft.setTextColor(ILI9341_BLUE);
tft.setTextSize(3);
tft.println("Hello And");
tft.setCursor(20, 50);
tft.setTextColor(ILI9341_RED);
tft.setTextSize(3);
tft.println("Wellcome To");
tft.setCursor(15, 100);
tft.setTextColor(ILI9341_WHITE);
tft.setTextSize(3);
tft.println("Unknown AIoT");
}
void loop() {
}