We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88ccf0c commit 929ee98Copy full SHA for 929ee98
libraries/lwIP_w5100/examples/WiFiClient-W5100/WiFiClient-W5100.ino
@@ -8,16 +8,21 @@
8
const char* host = "djxmmx.net";
9
const uint16_t port = 17;
10
11
-Wiznet5100lwIP eth(1 /* chip select */);
+#ifdef ARDUINO_WIZNET_5100S_EVB_PICO
12
// To use Interrupt-driven mode, pass in an SPI object and an IRQ pin like so:
13
-// Wiznet5100lwIP eth(17, SPI, 21);
+Wiznet5100lwIP eth(17, SPI, 21);
14
+#else
15
+Wiznet5100lwIP eth(1 /* chip select */);
16
+#endif
17
18
void setup() {
19
+#ifndef ARDUINO_WIZNET_5100S_EVB_PICO
20
// Set up SPI pinout to match your HW
21
SPI.setRX(0);
22
SPI.setCS(1);
23
SPI.setSCK(2);
24
SPI.setTX(3);
25
26
27
Serial.begin(115200);
28
delay(5000);
0 commit comments