2019-06-20 10:15:48 +00:00
|
|
|
# TTGO T-Display
|
|
|
|
|
2019-07-15 02:16:57 +00:00
|
|
|
![image](https://github.com/Xinyuan-LilyGO/TTGO-T-Display/blob/master/T-display.jpg)
|
2019-06-20 10:15:48 +00:00
|
|
|
## 1.Install the following dependency library files:
|
2019-07-28 01:50:33 +00:00
|
|
|
**The following two libraries are not original branches, they are my modified branches.**
|
2019-06-20 10:15:48 +00:00
|
|
|
- [TFT_eSPI](https://github.com/lewisxhe/TFT_eSPI)
|
2019-07-28 01:50:33 +00:00
|
|
|
- [Button2](https://github.com/lewisxhe/B·utton2)
|
|
|
|
|
|
|
|
|
2019-06-20 10:15:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
## 2.TFT_eSPI settings
|
|
|
|
- Move or copy `User_Setups/TTGO_T_Display.h` to `TFT_eSPI/User_Setups/`
|
|
|
|
- Add `#include <User_Setups/TTGO_T_Display.h>` to `TFT_eSPI/User_Setup_Select.h`
|
|
|
|
|
|
|
|
|
|
|
|
## 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 |
|
2019-06-28 07:47:55 +00:00
|
|
|
| TFT_BL | 4 |
|
2019-06-20 10:15:48 +00:00
|
|
|
| I2C_SDA | 21 |
|
|
|
|
| I2C_SCL | 22 |
|
|
|
|
| ADC_IN | 34 |
|
|
|
|
| BUTTON1 | 35 |
|
|
|
|
| BUTTON2 | 0 |
|
2019-07-15 02:16:57 +00:00
|
|
|
| ADC Power | 14 |
|