#include "SPI.h"
#include "Adafruit_GFX.h"
#include "Adafruit_ILI9341.h"
#define TFT_DC 14
#define TFT_CS 13
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC);
void setup() {
// put your setup code here, to run once:
/* Serial.begin(115200);
Serial.println("Hello, ESP32!");*/
tft.begin();
tft.fillScreen(ILI9341_BLUE);
}
void loop() {
// put your main code here, to run repeatedly:
//delay(10); // this speeds up the simulation
}
Loading
ili9341-cap-touch
ili9341-cap-touch