# TTGO-T-Display **Repository Path**: hcz3721/TTGO-T-Display ## Basic Information - **Project Name**: TTGO-T-Display - **Description**: No description available - **Primary Language**: C - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-05-25 - **Last Updated**: 2021-06-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # TTGO T-Display ![image](https://github.com/hcz3721/TTGO-T-Display/blob/master/pinmap.jpg) ## 1.Install the following dependency library files: - [TFT_eSPI](https://github.com/Bodmer/TFT_eSPI) - [Button2](https://github.com/LennartHennigs/Button2) ## 2.TFT_eSPI settings(上传成功但是无显示看这里) - Install TFT_eSPI, in `TFT_eSPI/User_Setup_Select.h`, comment out the default settings `#include ` , select `#include ` , Save Settings. * Like the picture below ![2.png](https://github.com/hcz3721/TTGO-T-Display/blob/master/2.png) ## 3.Board choose - The board can choose `ESP32 Dev Module`, other settings can keep the default ## 4. SD card connection - Demonstrate how to use the second SPI device, using the SD card as a demonstration device ![](https://github.com/hcz3721/TTGO-T-Display/blob/master/SD.jpg) ## Pinout | Name | V18 | | ---------- | ------ | | TFT Driver | ST7789 | | TFT_MISO | N/A | | TFT_MOSI | 19 | | TFT_SCLK | 18 | | TFT_CS | 5 | | TFT_DC | 16 | | TFT_RST | N/A | | TFT_BL | 4 | | I2C_SDA | 21 | | I2C_SCL | 22 | | ADC_IN | 34 | | BUTTON1 | 35 | | BUTTON2 | 0 | | ADC Power | 14 | 2019/08/06: * The TFT_eSPI and Button2 libraries have been synchronized to the main branch ## 5.[Arduino] 添加ESP32开发板库(https://dl.espressif.com/dl/package_esp32_index.json) ## 6.[img在线转.c](http://www.rinkydinkelectronics.com/t_imageconverter565.php) - 原图 ![](https://github.com/hcz3721/TTGO-T-Display/blob/master/YyJqeyDoqr.png)