#include <Adafruit_GFX.h>
#include <Adafruit_ILI9341.h>
// Define pins for ILI9341
#define TFT_CS 10
#define TFT_RST 9
#define TFT_DC 8
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_RST);
void setup() {
tft.begin();
tft.setRotation(0);
tft.fillScreen(ILI9341_BLACK);
// Set text color and size
tft.setTextColor(ILI9341_GREEN); // text na green
tft.setTextSize(2); // Text size
// Display the message
tft.setCursor(10, 50); // x,y ng text
tft.println("Mabuhay ang");
tft.setCursor(10,80);
tft.println("BET-CPET!!!");
}
void loop() {
}