Skip to content

Commit c5f9a21

Browse files
Sail-211010P-R-O-C-H-Y
authored andcommitted
Update pins_arduino.h
Modify the pin definition
1 parent 8c1743e commit c5f9a21

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

variants/waveshare_esp32_s3_touch_lcd_185/pins_arduino.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ static const uint8_t SDA = 11;
1919
static const uint8_t TX = 43;
2020
static const uint8_t RX = 44;
2121

22-
static const uint8_t SS = 10;
23-
static const uint8_t MOSI = 11;
24-
static const uint8_t MISO = 13;
25-
static const uint8_t SCK = 12;
22+
// Mapping based on the ESP32S3 data sheet - alternate for SPI2
23+
static const uint8_t SS = 34; // FSPICS0
24+
static const uint8_t MOSI = 35; // FSPID
25+
static const uint8_t MISO = 37; // FSPIQ
26+
static const uint8_t SCK = 36; // FSPICLK
2627

2728
static const uint8_t A0 = 1;
2829
static const uint8_t A1 = 2;

0 commit comments

Comments
 (0)