/*
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_DC 9
#define TFT_CS 10
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC);
void setup() {
tft.begin();
tft.drawRect(25, 12,210, 305, ILI9341_GREEN);
tft.setRotation(1);
tft.setCursor(26, 30);
tft.setTextColor(ILI9341_RED);
tft.setTextSize(4);
tft.println("HOLA . . .");
tft.setCursor(100,90);
tft.setTextColor(ILI9341_WHITE);
tft.setTextSize(3);
tft.println("SOY KIMILO!");
tft.setCursor(20, 150);
tft.setTextColor(ILI9341_RED);
tft.setTextSize(2);
tft.println("Y PODRAS CONTAR CONMIGO ");
tft.setCursor(50, 180);
tft.setTextColor(ILI9341_RED);
tft.setTextSize(2);
tft.println("PARA LO QUE NECESITES");
delay(2500);
tft.fillScreen(ILI9341_BLACK);
tft.drawRect(0, 120,300, 5, ILI9341_RED);
tft.fillRect(0, 120,300, 5, ILI9341_RED);
tft.setCursor(0,30);
tft.setTextColor(ILI9341_WHITE);
tft.setTextSize(2);
tft.println("Estas pasando por momentos ");
tft.setCursor(10,60);
tft.setTextColor(ILI9341_WHITE);
tft.setTextSize(2);
tft.println("dificiles por la perdida");
tft.setCursor(15,90);
tft.setTextColor(ILI9341_WHITE);
tft.setTextSize(2);
tft.println("de alguien importante");
tft.setCursor(0,150);
tft.setTextColor(ILI9341_WHITE);
tft.setTextSize(2);
tft.println("Por eso, estare contigo");
tft.setCursor(20,180);
tft.setTextColor(ILI9341_WHITE);
tft.setTextSize(2);
tft.println("en tu proceso de luto");
delay(2500);
tft.fillScreen(ILI9341_BLACK);
tft.setCursor(20,40);
tft.setTextColor(ILI9341_GREEN);
tft.setTextSize(2);
tft.println("Me gustaria conocerte");
// Meme reference: https://english.stackexchange.com/questions/20356/origin-of-i-can-haz
}
void loop() { }