Hi there!
I bought the new TDisplay from Lilygo. In the "preferences" I was able to add the url for the board manager of "esp32". So until then, everything was fine.
I wrote this simple program that I copied from youtube to test the display:
(This program should display the color of "color1" on the screen.)
#include <TFT_eSPI.h>
TFT_eSPI tft = TFT_eSPI();
TFT_eSprite sprite= TFT_eSprite(&tft);
#define color1 0xF79E
#define color2 0xB1B1
#define color3 0x4A69
void setup() {
tft.init();
tft.setRotation(1);
sprite.createSprite(320,170);
}
void drawGraph()
{
sprite.fillSprite(color1);
sprite.pushSprite(0,0);
}
void loop() {
drawGraph();
}
I was able to compile the program. Arduino IDE detected my board and started to upload the program.
The screen went black and the Reset LED started to blink very fast.
Now I don't know what to do, no program is working and my upload is still on:
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
Does someone know the solution to this problem?
Thank you!