File tree 3 files changed +162
-0
lines changed
waveshare_esp32_s3_touch_amoled_143
waveshare_esp32_s3_touch_amoled_164
waveshare_esp32_s3_touch_amoled_191
3 files changed +162
-0
lines changed Original file line number Diff line number Diff line change
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 */
Original file line number Diff line number Diff line change
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 0x8249
10
+
11
+ #define USB_MANUFACTURER "Waveshare"
12
+ #define USB_PRODUCT "ESP32-S3-Touch-AMOLED-1.64"
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
+
26
+ // Touch I2C
27
+ #define TP_SCL 48
28
+ #define TP_SDA 47
29
+ #define TP_RST -1
30
+ #define TP_INT -1
31
+
32
+ //key
33
+ #define KEY_0 0
34
+ //ADC
35
+ #define BAT_ADC 4
36
+
37
+ //SD_CARD
38
+ #define SD_CS 38
39
+ #define SD_MOSI 39
40
+ #define SD_MISO 40
41
+ #define SD_SCLK 41
42
+
43
+ static const uint8_t SDA = 47 ;
44
+ static const uint8_t SCL = 48 ;
45
+
46
+ // UART0 pins
47
+ static const uint8_t TX = 43 ;
48
+ static const uint8_t RX = 44 ;
49
+
50
+ //esp32s3-PSFlash SPI1/SPI0
51
+ static const uint8_t SS = 34 ; // FSPICS0
52
+ static const uint8_t MOSI = 35 ; // FSPID
53
+ static const uint8_t MISO = 37 ; // FSPIQ
54
+ static const uint8_t SCK = 36 ; // FSPICLK
55
+ #endif /* Pins_Arduino_h */
Original file line number Diff line number Diff line change
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 0x824B
10
+
11
+ #define USB_MANUFACTURER "Waveshare"
12
+ #define USB_PRODUCT "ESP32-S3-Touch-AMOLED-1.91"
13
+ #define USB_SERIAL ""
14
+
15
+ // display QSPI SPI2
16
+ #define QSPI_CS 6
17
+ #define QSPI_SCK 47
18
+ #define QSPI_D0 18
19
+ #define QSPI_D1 7
20
+ #define QSPI_D2 48
21
+ #define QSPI_D3 5
22
+ #define AMOLED_RESET 17
23
+ #define AMOLED_TE -1
24
+ #define AMOLED_PWR_EN -1
25
+ // Touch I2C
26
+ #define TP_SCL 39
27
+ #define TP_SDA 40
28
+ #define TP_RST -1
29
+ #define TP_INT -1
30
+
31
+
32
+ // Partial voltage measurement method
33
+ #define BAT_ADC 1
34
+ // Onboard QMI8658 IMU
35
+ #define QMI_INT1 45
36
+ #define QMI_INT1 46
37
+
38
+ //SD
39
+ #define SD_CS 9
40
+ #define SD_MISO 8
41
+ #define SD_MOSI 42
42
+ #define SD_CLK 47
43
+
44
+ //i2c
45
+
46
+ static const uint8_t SDA = 40 ;
47
+ static const uint8_t SCL = 39 ;
48
+
49
+ // UART0 pins
50
+ static const uint8_t TX = 43 ;
51
+ static const uint8_t RX = 44 ;
52
+
53
+ //esp32s3-PSFlash SPI1/SPI0
54
+ static const uint8_t SS = 34 ; // FSPICS0
55
+ static const uint8_t MOSI = 35 ; // FSPID
56
+ static const uint8_t MISO = 37 ; // FSPIQ
57
+ static const uint8_t SCK = 36 ; // FSPICLK
58
+ #endif /* Pins_Arduino_h */
You can’t perform that action at this time.
0 commit comments