File tree Expand file tree Collapse file tree 1 file changed +32
-10
lines changed
variants/waveshare_esp32_s3_touch_amoled_18 Expand file tree Collapse file tree 1 file changed +32
-10
lines changed Original file line number Diff line number Diff line change 1414#define USB_SERIAL ""
1515
1616// 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
2325
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 ;
2648
2749// Onboard Electric buzzer & Custom buttons
2850// GPIO and PSRAM conflict, need to pay attention when using
@@ -32,8 +54,8 @@ static const uint8_t TX = 43;
3254static const uint8_t RX = 44 ;
3355
3456// 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 ;
3759
3860// Mapping based on the ESP32S3 data sheet - alternate for SPI2
3961static const uint8_t SS = 34 ; // FSPICS0
You can’t perform that action at this time.
0 commit comments