-
Notifications
You must be signed in to change notification settings - Fork 0
/
pin_config-t7-s3-esp32-s3.h
69 lines (43 loc) · 2.19 KB
/
pin_config-t7-s3-esp32-s3.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// pin_config-t7-esp32-s3.h
#ifndef PIN_CONFIG_T7_ESP32_S3_H
#define PIN_CONFIG_T7_ESP32_S3_H
// changed to self-documenting long names based on const int, instead of #define
#define INTERRUPT_MODE FALLING
//const int PIN_IOxx_POWER_OUT_5V0_T7S3_B08_RED = -1;
//const int PIN_IOxx_POWER_OUT_3V3_T7S3_C08_ORANGE = -1;
//const int PIN_IOxx_POWER_GND_T7S3_A01_BLACK = -1;
//const int PIN_IOxx_POWER_GND_T7S3_B07_BLACK = -1;
//const int PIN_IOxx_POWER_GND_T7S3_D01_BLACK = -1;
const int PIN_SERVO_AIR_VALVE = 1;
const int PIN_PWM_THROTTLE = 2;
const int PIN_INTR_TCW_RED = 3;
//const int PIN_IO03_SPARE_T7S3_A02_DUPLICATED = 3;
//const int PIN_IO04_SPARE_STRAPPING_T7S3_A06 = 4;
const int PIN_ENC3_A = 5;
//const int PIN_IO06_ENC3_B_TCW_T7S3_A10_GREEN = 6;
//const int PIN_IO07_SPARE_T7S3_B10 = 7;
const int PIN_ENC3_B = 8;
// const int PIN_LCD_SPI_DC_TCMDESIGNER = 9;
const int PIN_ENC2_A = 10;
//const int PIN_LCD_SPI_CS_TCMDESIGNER = 11; // DEFINED IN TCMENU DESIGNER
const int PIN_INTR_CCW_WHITE = 12;
//const int PIN_IO13_LCD_VSPI_MISO_FSPI_Q_DUPLICATED_STEMMA_PIN4_T7S3_B04_GREY = 13;
//const int PIN_ENC1_OK_TCMDESIGNER = 15;
//const int PIN_ENC1_A_TCMDESIGNER = 16;
const int PIN_DEBUG_LED = 17; // PIN_IO17_BUILTIN_DEBUG_LED_T7S3_C05_NC
//const int PIN_ENC1_B_TCMDESIGNER = 18;
//const int PIN_LCD_SPI_MOSI_DATA_TCMDESIGNER = 21; // DEFINED IN TCMENU DESIGNER
const int PIN_ENC2_B = 39;
//const int PIN_IO40_SPARE_ALSO_JTAG_TDO_T7S3_B09 = 40;
//const int PIN_LCD_SPI_CLK_TCMDESIGNER = 42; // DEFINED IN TCMENU DESIGNER
//const int PIN_IO42_SPARE_ALSO_JTAG_TMS_T7S3_D07 = 42;
//const int PIN3_ENC2_OK = 43;
const int PIN_IO45_SERIAL1_RX = 45;
const int PIN_IO46_SERIAL1_TX = 46;
const int PIN_IO47_SERIAL2_RX = 47;
const int PIN_IO48_SERIAL2_TX = 48;
//#define MYSERIAL0_BEGIN Serial0.begin(BAUD_SERIAL0, SERIAL_8N1, PIN_SERIAL0_RX, PIN_SERIAL0_TX);
#define MYSERIAL1_BEGIN Serial1.begin(BAUD_SERIAL1, SERIAL_8N1, PIN_IO45_SERIAL1_RX, PIN_IO46_SERIAL1_TX);
#define MYSERIAL2_BEGIN Serial2.begin(BAUD_SERIAL2, SERIAL_8N1, PIN_IO47_SERIAL2_RX, PIN_IO48_SERIAL2_TX);
#endif
// END_OF_FILE