Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 93a7f4e

Browse filesBrowse files
sebastianbergnerSuGliderP-R-O-C-H-Y
authored
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 <rodrigo.garcia@espressif.com> Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
1 parent bf53e2b commit 93a7f4e
Copy full SHA for 93a7f4e

File tree

Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed

‎variants/wt32-eth01/pins_arduino.h

Copy file name to clipboardExpand all lines: variants/wt32-eth01/pins_arduino.h
+5-5Lines changed: 5 additions & 5 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.