Closed stevexyz closed 1 month ago
I think I had/have the same issue as you; in the end though I was able to upload and partially see the rendered images (so far, analog clock and PNG). Mine is probably a chinese clone of LilyGo (since there is no label on it). It is though detected as LilyGo T-Display.
I can only advice to double-check these files:
.../Arduino/libraries/TFT_eSPI/User_Setup_Select.h
#include <User_Setups/Setup25_TTGO_T_Display.h>
.../Arduino/libraries/TFT_eSPI/User_Setup.h
#define USER_SETUP_INFO "User_Setup"
// ...
#define ILI9341_DRIVER
// ...
#define TFT_MISO PIN_D6
#define TFT_MOSI PIN_D7
#define TFT_SCLK PIN_D5
#define TFT_CS PIN_D8
#define TFT_DC PIN_D3
#define TFT_RST PIN_D4
// ...
These settings I used in Arduino IDE:
Board: LilyGo T-Display
JTAG Adapter: Disbled
PSRAM: Disbled
Partition Scheme: Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
CPU Frequency: 240MHz
Flash Mode: QIO
Flash Frequency: 80 MHz
Flash Size: 4MByte (32Mbit)
Upload Speed: 921600
Arduino Runs On: Core 1
Events Runs On: Core 1
Core Debug Level: None
Erase All Flash: Disabled
Note: script it validated and uploaded, and I got an image on the screen; however, those scripts from library examples were cropped/ panned/ zoomed/ showed only particularly. I might not be uploading correctly, in the end. I also tried this fork (or is it?) with no luck.
Will be interested in others' experience on this topic.
I checked and they are ok, but I just realized now that this issue should have been opened on the T-Display specific repository, so closing it here and open it there!
I just bought the TTGO T-Display v1.1, recognized in Arduino as:
Installed arduino (on Linux Mint), copied this repository library TFT_eSPI to the Arduino directory and tried some video examples but none seems working. Below the output of the compilation:
I checked and in User_Setup_Select.h just Setup25_TTGO_T_Display.h is selected. Board "LiliGo T-Display" is selected.
I tried to comment the offending code in TFT_eSPI/Processors/TFT_eSPI_ESP32.h (putting false as condition at line 99 and 154) and it compiled:
BUT the only board effect is to light up the display!
Did I do something wrong? In case, can you elaborate in the homepage instructions?
Thank you