#include "Free_Fonts.h"
#include <TFT_eSPI.h>
#include <SPI.h> // this is needed for display
//#include "LogoWasatch128.h"
#include "LogoEscuela.h"
//#include "FotoMatt.h"
//#include "EdificioEscuela.h"
// The display also uses hardware SPI, plus #9 & #10
#define TFT_CS 15
#define TFT_DC 2
#define TFT_MOSI 23
#define TFT_SCLK 18
TFT_eSPI ABC = TFT_eSPI(); // Invoke custom library with default width and height
void setup(void) {
ABC.begin();
ABC.setRotation(1);
ABC.setSwapBytes(true);
ABC.pushImage(0,0,316,240,Logo_Escuela320x240);
delay(3000);
/* ABC.pushImage(0,0,320,240,FotoLogoPNG);
delay(3000);
ABC.pushImage(0,0,320,240,Edificio);
delay(3000);
ABC.pushImage(0,0,320,240,Logo79x60);*/
ABC.fillScreen(TFT_BLACK);
ABC.setTextSize(8);
//tft.fillScreen(BLACK);;
ABC.setCursor(0, 100);
ABC.setTextColor(TFT_GREEN);
ABC.print("CCS");
ABC.setTextSize(2);
ABC.setTextColor(TFT_WHITE);
ABC.setCursor(130, 135);
ABC.print("Software");
}
void loop() {
}
Loading
ili9341-cap-touch
ili9341-cap-touch