10000 Fix Nano_RP2040_Connect pinout issue (#400) · nerkulec/arduino-pico@52a22e5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 52a22e5

Browse files
authored
Fix Nano_RP2040_Connect pinout issue (earlephilhower#400)
Fix issues with [WiFiNINA](https://github.com/arduino-libraries/WiFiNINA) and [WiFiNINA_Generic](https://github.com/khoih-prog/WiFiNINA_Generic) libraries Fixes earlephilhower#373 Fixes earlephilhower#375 Fixes earlephilhower#376
1 parent cae8c70 commit 52a22e5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

variants/arduino_nano_connect/pins_arduino.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,19 @@ static const uint8_t A5 = (13u);
5656
#define PIN_SPI0_MISO (D12)
5757
#define PIN_SPI0_MOSI (D11)
5858
#define PIN_SPI0_SCK (D13)
59-
#define PIN_SPI0_SS (13u)//(D10)
59+
#define PIN_SPI0_SS (D10)
6060

6161
#define PIN_SPI1_MISO (D25)
6262
#define PIN_SPI1_MOSI (D28)
6363
#define PIN_SPI1_SCK (D29)
64-
#define PIN_SPI1_SS (13u)
64+
#define PIN_SPI1_SS (D10)
6565

6666
// Wire
6767
#define PIN_WIRE0_SDA (D18)
6868
#define PIN_WIRE0_SCL (D19)
6969

70-
#define PIN_WIRE1_SDA (26u) //Non c'è
71-
#define PIN_WIRE1_SCL (27u) //Non c'è
70+
#define PIN_WIRE1_SDA (D14)
71+
#define PIN_WIRE1_SCL (D15)
7272

7373
#define SERIAL_HOWMANY (3u)
7474
#define SPI_HOWMANY (2u)
@@ -95,7 +95,7 @@ static const uint8_t SCK = PIN_SPI0_SCK;
9595
#define SerialHCI Serial2
9696

9797
//#define NINA_GPIOIRQ (21u) // LEDG pin (GPIO26 on NINA)
98-
#define NINA_GPIO0 (20u) // real GPIO0 on NINA
98+
#define NINA_GPIO0 (D20) // (2u), real GPIO0 on NINA
9999

100100
#define SPIWIFI_SS (D26)
101101
#define SPIWIFI_ACK (D27)

0 commit comments

Comments
 (0)
0