#include <Adafruit_ILI9341.h>
#define TFT_DC 2
#define TFT_CS 3
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC);
#include "background1.h"
#define MAX_IMAGE_WDITH 240
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32-S3!");
tft.begin();
tft.setRotation(1);
tft.fillScreen(ILI9341_BLUE);
tft.setTextColor(ILI9341_WHITE);
tft.setTextSize(1);
tft.setCursor(0, 35);
tft.print("Hola, TFT");
// tft.setTextColor(ILI9341_YELLOW);
// tft.setTextSize(2);
// tft.setCursor(0, 100);
// tft.print("T:25.1'C H:19.6% L:1489");
tft.fillScreen (0);
tft.pushImage (0,0,240,240,back1);
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}