File tree 1 file changed +32
-10
lines changed
variants/waveshare_esp32_s3_touch_amoled_18
1 file changed +32
-10
lines changed Original file line number Diff line number Diff line change 14
14
#define USB_SERIAL ""
15
15
16
16
// display for SH8601
17
- #define WS_LCD_CS 12
18
- #define WS_QSPI_SIO0 4
19
- #define WS_QSPI_SI1 5
20
- #define WS_QSPI_SI2 6
21
- #define WS_QSPI_SI3 7
22
- #define WS_QSPI_SCL 11
17
+ #define LCD_SDIO0 4
18
+ #define LCD_SDIO1 5
19
+ #define LCD_SDIO2 6
20
+ #define LCD_SDIO3 7
21
+ #define LCD_SCLK 11
22
+ #define LCD_CS 12
23
+ #define LCD_WIDTH 368
24
+ #define LCD_HEIGHT 448
23
25
24
- // Touch for FT3168
25
- #define WS_TP_INT 21
26
+ // TOUCH
27
+ #define TP_INT 21
28
+
29
+ // ES8311
30
+ #define I2S_MCK_IO 16
31
+ #define I2S_BCK_IO 9
32
+ #define I2S_DI_IO 10
33
+ #define I2S_WS_IO 45
34
+ #define I2S_DO_IO 8
35
+
36
+
37
+ #define MCLKPIN 16
38
+ #define BCLKPIN 9
39
+ #define WSPIN 45
40
+ #define DOPIN 10
41
+ #define DIPIN 8
42
+ #define PA 46
43
+
44
+ // SD
45
+ const int SDMMC_CLK = 2 ;
46
+ const int SDMMC_CMD = 1 ;
47
+ const int SDMMC_DATA = 3 ;
26
48
27
49
// Onboard Electric buzzer & Custom buttons
28
50
// GPIO and PSRAM conflict, need to pay attention when using
@@ -32,8 +54,8 @@ static const uint8_t TX = 43;
32
54
static const uint8_t RX = 44 ;
33
55
34
56
// Def for I2C that shares the IMU I2C pins
35
- static const uint8_t SDA = 14 ;
36
- static const uint8_t SCL = 15 ;
57
+ static const uint8_t SDA = 15 ;
58
+ static const uint8_t SCL = 14 ;
37
59
38
60
// Mapping based on the ESP32S3 data sheet - alternate for SPI2
39
61
static const uint8_t SS = 34 ; // FSPICS0
You can’t perform that action at this time.
0 commit comments