perfect:

This commit is contained in:
LilyGO 2022-05-06 10:39:54 +08:00
parent 9ce50e9560
commit fd7256d418
16 changed files with 55 additions and 34 deletions

Binary file not shown.

Binary file not shown.

View File

@ -18,6 +18,15 @@
<h3 align = "left">Product 📷:</h3>
| Product | Product Link |
| :--------: | :------------: |
| T-keyboard | [AliExpress]() |
## Pinout
![](image/)

View File

@ -13,4 +13,11 @@
- [ESP32-BLE-Keyboard](https://github.com/T-vK/ESP32-BLE-Keyboard/tree/0.3.0)
- [T-0.99TFT](https://github.com/Xinyuan-LilyGO/T-0.99TFT)
<h3 align = "left">Product 📷:</h3>
| Product | Product Link |
| :------------: | :-----------: |
| [T-keyboard]() | []() |
## Pinout
![](image/)

View File

@ -1,6 +1,6 @@
<h1 align = "center">🌟LILYGO T-OI-PLUS🌟</h1>
<h1 align = "center">🌟LILYGO T-keyboard🌟</h1>
[Flash Download Tool](https://www.espressif.com/en/support/download/other-tools)
![](../image/)
![](../image/Flash_Download.png)

Binary file not shown.

BIN
image/Flash_Download.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

View File

@ -0,0 +1 @@
![image](https://github.com/Xinyuan-LilyGO/T-0.99TFT/blob/main/image/image7.jpg)

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -6,23 +6,26 @@
<h3 align = "left">Quick start:</h3>
1. Install the current upstream Arduino IDE at the 1.8 level or later. The current version is at the [Arduino website](http://www.arduino.cc/en/main/software).
2. Start Arduino and open Preferences window. In additional board manager add url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json .separating them with commas.
3. Select Tools -> Board Management -> Search for ESP32 and install
4. Select Tools -> Board ->
5. Copy the folder in the 'lib' directory to '~Arduino/libraries'
6. Define pins and select display direction in TFT GC9D01N.h
#define LANDSCAPE 1 //Horizontal screen
//#define PORTRAIT 2
#define TFT_MISO -1
#define TFT_MOSI 10
#define TFT_SCLK 20
#define TFT_CS -1
#define TFT_DC 2
#define TFT_RST -1
#define TFT_BL 8
default setting
| PIN | |
| :------: | :---: |
| TFT_MISO | -1 |
| TFT_MOSI | 10 |
| TFT_SCLK | 20 |
| TFT_CS | -1 |
| TFT_DC | 2 |
| TFT_RST | -1 |
| TFT_BL | 8 |

View File

@ -9,16 +9,17 @@
3. 选择“工具” -> 开发板选择 ->
4. 复制'lib'下的文件到'~Arduino/libraries'
5. 在TFT_GC9D01N.h 中定义引脚和选择显示方向
#define LANDSCAPE 1 //Horizontal screen
//#define PORTRAIT 2
#define TFT_MISO -1
#define TFT_MOSI 10
#define TFT_SCLK 20
#define TFT_CS -1
#define TFT_DC 2
#define TFT_RST -1
#define TFT_BL 8
默认配置
| PIN | |
| :------: | :---: |
| TFT_MISO | -1 |
| TFT_MOSI | 10 |
| TFT_SCLK | 20 |
| TFT_CS | -1 |
| TFT_DC | 2 |
| TFT_RST | -1 |
| TFT_BL | 8 |
<h3 align = "left">Product 📷:</h3>

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -63,7 +63,7 @@ unsigned char ascii[] = {
0x00, 0x00, 0x00, 0x7C, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x7C, 0x00, 0x00,
//(ord:19)~J
0x00, 0x00, 0x00, 0x3E, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x88, 0xF0,
0x00, 0x00, 0x00, 0x3E, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x88, 0xF0, 0x00,
//(ord:20)~K
0x00, 0x00, 0x00, 0xEE, 0x44, 0x48, 0x50, 0x70, 0x50, 0x48, 0x48, 0x44, 0x44, 0xEE, 0x00, 0x00,
@ -84,7 +84,7 @@ unsigned char ascii[] = {
0x00, 0x00, 0x00, 0xFC, 0x42, 0x42, 0x42, 0x42, 0x7C, 0x40, 0x40, 0x40, 0x40, 0xE0, 0x00, 0x00,
//(ord:26)~Q
0x00, 0x00, 0x00, 0x38, 0x44, 0x82, 0x82, 0x82, 0x82, 0x82, 0xB2, 0xCA, 0x4C, 0x38, 0x06, 0x00,
0x00, 0x00, 0x00, 0x38, 0x44, 0x82, 0x82, 0x82, 0x82, 0xB2, 0xCA, 0x4C, 0x38, 0x06, 0x00, 0x00,
//(ord:27)~R
0x00, 0x00, 0x00, 0xFC, 0x42, 0x42, 0x42, 0x7C, 0x48, 0x48, 0x44, 0x44, 0x42, 0xE3, 0x00, 0x00,
@ -126,7 +126,7 @@ unsigned char ascii[] = {
0x00, 0x1C, 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
//(ord:40)~ _
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00,
//(ord:41)~ `
0x00, 0x60, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@ -150,7 +150,7 @@ unsigned char ascii[] = {
0x00, 0x00, 0x00, 0x0F, 0x11, 0x10, 0x10, 0x7E, 0x10, 0x10, 0x10, 0x10, 0x10, 0x7C, 0x00, 0x00,
//(ord:48)~ g
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x44, 0x44, 0x38, 0x40, 0x3C, 0x42, 0x42, 0x3C,
0x00, 0x00, 0x00, 0x00, 0x00, 0x3E, 0x44, 0x44, 0x38, 0x40, 0x3C, 0x42, 0x42, 0x3C, 0x00, 0x00,
//(ord:49)~ h
0x00, 0x00, 0x00, 0xC0, 0x40, 0x40, 0x40, 0x5C, 0x62, 0x42, 0x42, 0x42, 0x42, 0xE7, 0x00, 0x00,
@ -159,7 +159,7 @@ unsigned char ascii[] = {
0x00, 0x00, 0x00, 0x30, 0x30, 0x00, 0x00, 0x70, 0x10, 0x10, 0x10, 0x10, 0x10, 0x7C, 0x00, 0x00,
//(ord:51)~ j
0x00, 0x00, 0x00, 0x0C, 0x0C, 0x00, 0x00, 0x1C, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x44, 0x78,
0x00, 0x0C, 0x0C, 0x00, 0x00, 0x1C, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x44, 0x78, 0x00, 0x00,
//(ord:52)~ k
0x00, 0x00, 0x00, 0xC0, 0x40, 0x40, 0x40, 0x4E, 0x48, 0x50, 0x68, 0x48, 0x44, 0xEE, 0x00, 0x00,
@ -177,10 +177,10 @@ unsigned char ascii[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3C, 0x42, 0x42, 0x42, 0x42, 0x42, 0x3C, 0x00, 0x00,
//(ord:57)~ p
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD8, 0x64, 0x42, 0x42, 0x42, 0x44, 0x78, 0x40, 0xE0,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD8, 0x64, 0x42, 0x42, 0x42, 0x44, 0x78, 0x40, 0xE0, 0x00,
//(ord:58)~ q
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1E, 0x22, 0x42, 0x42, 0x42, 0x22, 0x1E, 0x02, 0x07,
0x00, 0x00, 0x00, 0x00, 0x00, 0x1E, 0x22, 0x42, 0x42, 0x42, 0x22, 0x1E, 0x02, 0x07, 0x00, 0x00,
//(ord:59)~ r
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xEE, 0x32, 0x20, 0x20, 0x20, 0x20, 0xF8, 0x00, 0x00,
@ -204,7 +204,7 @@ unsigned char ascii[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x6E, 0x24, 0x18, 0x18, 0x18, 0x24, 0x76, 0x00, 0x00,
//(ord:66)~ y
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE7, 0x42, 0x24, 0x24, 0x28, 0x18, 0x10, 0x10, 0xE0,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE7, 0x42, 0x24, 0x24, 0x28, 0x18, 0x10, 0x10, 0xE0, 0x00,
//(ord:67)~ z
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7E, 0x44, 0x08, 0x10, 0x10, 0x22, 0x7E, 0x00, 0x00,
@ -235,7 +235,7 @@ unsigned char ascii[] = {
0x00, 0x00, 0x00, 0x24, 0x24, 0x24, 0xFE, 0x48, 0x48, 0x48, 0xFE, 0x48, 0x48, 0x48, 0x00, 0x00,
//(ord:76)~ $
0x00, 0x00, 0x10, 0x38, 0x54, 0x54, 0x50, 0x30, 0x18, 0x14, 0x14, 0x54, 0x54, 0x38, 0x10, 0x10,
0x00, 0x10, 0x38, 0x54, 0x54, 0x50, 0x30, 0x18, 0x14, 0x14, 0x54, 0x54, 0x38, 0x10, 0x10, 0x00,
//(ord:77)~ %
0x00, 0x00, 0x00, 0x44, 0xA4, 0xA8, 0xA8, 0xA8, 0x54, 0x1A, 0x2A, 0x2A, 0x2A, 0x44, 0x00, 0x00,
@ -247,10 +247,10 @@ unsigned char ascii[] = {
0x00, 0x60, 0x60, 0x20, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
//(ord:80)~ (
0x00, 0x02, 0x04, 0x08, 0x08, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x08, 0x08, 0x04, 0x02, 0x00,
0x00, 0x02, 0x04, 0x08, 0x08, 0x10, 0x10, 0x10, 0x10, 0x10, 0x08, 0x08, 0x04, 0x02, 0x00, 0x00,
//(ord:81)~ )
0x00, 0x40, 0x20, 0x10, 0x10, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x10, 0x10, 0x20, 0x40, 0x00,
0x00, 0x40, 0x20, 0x10, 0x10, 0x08, 0x08, 0x08, 0x08, 0x08, 0x10, 0x10, 0x20, 0x40, 0x00, 0x00,
//(ord:82)~ *
0x00, 0x00, 0x00, 0x00, 0x10, 0x10, 0xD6, 0x38, 0x38, 0xD6, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00,
@ -259,7 +259,7 @@ unsigned char ascii[] = {
0x00, 0x00, 0x00, 0x00, 0x10, 0x10, 0x10, 0x10, 0xFE, 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00,
//(ord:84)~ ,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x60, 0x20, 0xC0,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x60, 0x60, 0x20, 0xC0, 0x00,
//(ord:85)~ -
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
@ -274,7 +274,7 @@ unsigned char ascii[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x00, 0x00,
//(ord:89)~ ;
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x10, 0x20,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x10, 0x20, 0x00,
//(ord:90)~ <
0x00, 0x00, 0x00, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x00, 0x00,