forked from lixy123/TTGO_T_Watch_Baidu_Rec
-
Notifications
You must be signed in to change notification settings - Fork 2
/
board_def.h
46 lines (35 loc) · 1.18 KB
/
board_def.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef __BOARD_DEF_H
#define __BOARD_DEF_H
//#define UBOX_GPS_MODULE //Turning on will open the M8/M6 GPS module
// #define ACSIP_S7XG_MODULE //Turning on will open the S7XG GPS/LORA module
// #define ENABLE_BLE //Turning on will open the BLE module
#define TFT_MISO -1
#define TFT_MOSI 19
#define TFT_SCLK 18
#define TFT_CS 5
#define TFT_DC 27
#define TFT_RST -1
#define TFT_BL 12
#define SD_CS 13
#define SD_MISO 2
#define SD_MOSI 15
#define SD_SCLK 14
#define I2C_SDA 23
#define I2C_SCL 32
#define SEN_SDA 21
#define SEN_SCL 22
#define UART_TX 33
#define UART_RX 34
#if defined(UBOX_GPS_MODULE)
#define UART_BANUD_RATE 9600
#else
#define UART_BANUD_RATE 115200
#endif
#define USER_BUTTON 36
#define USER_BUTTON_GPIO GPIO_NUM_36
#define TP_INT 38
#define RTC_INT 37
#define AXP202_INT 35
#define BMA423_INT1 39
#define BMA423_INT2 0
#endif