/*
Ellipse drawing example
This sketch does not use any fonts.
*/
#include <SPI.h>
#include <TFT_eSPI.h> // Hardware-specific library
#define TFT_MOSI 23
#define TFT_SCK 18
#define TFT_CS 15
#define TFT_DC 4
#define TFT_MISO 19
#define TFT_RESET 14
TFT_eSPI tft = TFT_eSPI(240,320); // Invoke custom library
void setup(void) {
tft.begin();
}
void loop() {
delay(2000);
}
Loading
ili9341-cap-touch
ili9341-cap-touch