Skip to content

Commit 2e27380

Browse files
authored
Update pins_arduino.h
Modify the pin definition
1 parent d2a129e commit 2e27380

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Diff for: variants/waveshare_esp32_s3_touch_lcd_185/pins_arduino.h

+5-4
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)