add readme
This commit is contained in:
parent
3149004d9c
commit
bbfa74093d
2 changed files with 43 additions and 8 deletions
43
README.MD
Normal file
43
README.MD
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
TTGO T22 T-Beam
|
||||
=====================
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
|
||||
## PinOut
|
||||
| Pins | T_BEAM_V10 | T_BEAM_V07 |
|
||||
| ----------- | ---------- | ---------- |
|
||||
| LORA_SCK | 5 | 5 |
|
||||
| LORA_MISO | 19 | 19 |
|
||||
| LORA_MOSI | 27 | 27 |
|
||||
| LORA_SS | 18 | 18 |
|
||||
| LORA_DI0 | 26 | 26 |
|
||||
| LORA_RST | 23 | 23 |
|
||||
| GPS_RX_PIN | 34 | 12 |
|
||||
| GPS_TX_PIN | 12 | 15 |
|
||||
| I2C_SDA | 21 | 21 |
|
||||
| I2C_SCL | 22 | 22 |
|
||||
| PMU_IRQ | 35 | N/A |
|
||||
| USER BUTTON | 36 | N/A |
|
||||
|
||||
## Power Control Channel
|
||||
| Modules | T_BEAM_V10 | T_BEAM_V07 |
|
||||
| ------- | ---------- | ---------- |
|
||||
| GPS | LDO3 | No supoort |
|
||||
| LORA | LDO2 | No supoort |
|
||||
|
||||
|
||||
|
||||
## How to use
|
||||
- The repository depends on other library files, please recursively clone the repository
|
||||
```
|
||||
git clone --recursive https://github.com/Xinyuan-LilyGO/TTGO-T-Beam
|
||||
```
|
||||
|
||||
- Then move the library files in the `libraries` directory to
|
||||
```
|
||||
C:\Users\<UserName>\Documents\Arduino\libraries
|
||||
```
|
||||
- In the Arduino board select `T-Beam`
|
||||
|
|
@ -9,14 +9,6 @@
|
|||
#define ENABLE_LOAR
|
||||
|
||||
|
||||
#ifdef ENABLE_BUTTON
|
||||
#define BUTTON_1 36
|
||||
#define BUTTON_2 0
|
||||
#define BUTTON_3 0
|
||||
#define BUTTON_4 36
|
||||
#define BUTTON_5 0
|
||||
#endif
|
||||
|
||||
//ssd1306 oled显示屏
|
||||
#define SSD1306_ADDRESS 0x3c
|
||||
#ifdef ENABLE_SSD1306
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue