1
- #ifndef Pins_Arduino_h
2
- #define Pins_Arduino_h
3
-
4
- #include <stdint.h>
5
- #include "soc/soc_caps.h"
6
-
7
- // BN: ESP32 Family Device
8
- #define USB_VID 0x303a
9
- #define USB_PID 0x824A
10
-
11
- #define USB_MANUFACTURER "Waveshare"
12
- #define USB_PRODUCT "ESP32-S3-Touch-AMOLED-1.43"
13
- #define USB_SERIAL ""
14
-
15
- // display QSPI SPI2
16
- #define QSPI_CS 9
17
- #define QSPI_SCK 10
18
- #define QSPI_D0 11
19
- #define QSPI_D1 12
20
- #define QSPI_D2 13
21
- #define QSPI_D3 14
22
- #define AMOLED_RESET 21
23
- #define AMOLED_TE -1
24
- #define AMOLED_PWR_EN -1
25
- // Touch I2C
26
- #define TP_SCL 48
27
- #define TP_SDA 47
28
- #define TP_RST -1
29
- #define TP_INT -1
30
-
31
- // RTC
32
- #define RTC_INT 15
33
- // Partial voltage measurement method
34
- #define BAT_ADC 4
35
- // Onboard QMI8658 IMU
36
- #define QMI_INT1 8
37
-
38
- static const uint8_t SDA = 47 ;
39
- static const uint8_t SCL = 48 ;
40
- // UART0 pins
41
- static const uint8_t TX = 43 ;
42
- static const uint8_t RX = 44 ;
43
-
44
- //esp32s3-PSFlash SPI1/SPI0
45
- static const uint8_t SS = 34 ; // FSPICS0
46
- static const uint8_t MOSI = 35 ; // FSPID
47
- static const uint8_t MISO = 37 ; // FSPIQ
48
- static const uint8_t SCK = 36 ; // FSPICLK
49
- #endif /* Pins_Arduino_h */
1
+ #ifndef Pins_Arduino_h
2
+ #define Pins_Arduino_h
3
+
4
+ #include <stdint.h>
5
+ #include "soc/soc_caps.h"
6
+
7
+ // BN: ESP32 Family Device
8
+ #define USB_VID 0x303a
9
+ #define USB_PID 0x824A
10
+
11
+ #define USB_MANUFACTURER "Waveshare"
12
+ #define USB_PRODUCT "ESP32-S3-Touch-AMOLED-1.43"
13
+ #define USB_SERIAL ""
14
+
15
+ // display QSPI SPI2
16
+ #define QSPI_CS 9
17
+ #define QSPI_SCK 10
18
+ #define QSPI_D0 11
19
+ #define QSPI_D1 12
20
+ #define QSPI_D2 13
21
+ #define QSPI_D3 14
22
+ #define AMOLED_RESET 21
23
+ #define AMOLED_TE -1
24
+ #define AMOLED_PWR_EN -1
25
+ // Touch I2C
26
+ #define TP_SCL 48
27
+ #define TP_SDA 47
28
+ #define TP_RST -1
29
+ #define TP_INT -1
30
+
31
+ // RTC
32
+ #define RTC_INT 15
33
+ // Partial voltage measurement method
34
+ #define BAT_ADC 4
35
+ // Onboard QMI8658 IMU
36
+ #define QMI_INT1 8
37
+
38
+ static const uint8_t SDA = 47 ;
39
+ static const uint8_t SCL = 48 ;
40
+ // UART0 pins
41
+ static const uint8_t TX = 43 ;
42
+ static const uint8_t RX = 44 ;
43
+
44
+ //esp32s3-PSFlash SPI1/SPI0
45
+ static const uint8_t SS = 34 ; // FSPICS0
46
+ static const uint8_t MOSI = 35 ; // FSPID
47
+ static const uint8_t MISO = 37 ; // FSPIQ
48
+ static const uint8_t SCK = 36 ; // FSPICLK
49
+ #endif /* Pins_Arduino_h */
0 commit comments