Skip to content

Commit 3cef9b0

Browse files
sebastianbergnerSuGliderP-R-O-C-H-Y
authored andcommitted
Add I2C and SPI pin definitions to wt32-eth01 pins configuration (espressif#7237)
* Add I2C and SPI pin definitions to wt32-eth01 pins Added missing pins based on testing using a RTC (I2C) and SD card reader (SPI). * Remove define macros Co-authored-by: Rodrigo Garcia <[email protected]> Co-authored-by: Jan Procházka <[email protected]>
1 parent 619dd88 commit 3cef9b0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: variants/wt32-eth01/pins_arduino.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ static const uint8_t RX = 3;
5454

5555
//SPI VSPI default pins
5656
static const uint8_t SS = -1;
57-
static const uint8_t MOSI = 15;
58-
static const uint8_t MISO = 12;
59-
static const uint8_t SCK = 14;
57+
static const uint8_t MOSI = 14;
58+
static const uint8_t MISO = 15;
59+
static const uint8_t SCK = 12;
6060

6161
//I2C default pins
62-
static const uint8_t SDA = 2;
63-
static const uint8_t SCL = 4;
62+
static const uint8_t SDA = 33;
63+
static const uint8_t SCL = 32;
6464

6565
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)