10000 Add WIZnet W5100S-EVB-Pico docs (#1713) · rondlh/arduino-pico@0ed1f3d · GitHub
[go: up one dir, main page]

Skip to content

Commit 0ed1f3d

Browse files
Add WIZnet W5100S-EVB-Pico docs (earlephilhower#1713)
1 parent f5e8e5b commit 0ed1f3d

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

docs/ethernet.rst

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ a wired interface.
1313
Supported Wired Ethernet Modules
1414
--------------------------------
1515

16-
* Wiznet W5100
16+
* Wiznet W5100(s)
1717

1818
* Wiznet W5500
1919

@@ -111,6 +111,26 @@ For example, to set the W5500 to use a 30MHZ clock:
111111
...
112112
}
113113
114+
Using the WIZnet W5100S-EVB-Pico
115+
--------------------------------
116+
117+
You can use the onboard Ethernet chip with these drivers by utilizing the following options:
118+
119+
.. code:: cpp
120+
121+
#include <W5100lwIP.h>
122+
Wiznet5100lwIP eth(17); // Note chip select is **17**
123+
124+
void setup() {
125+
// Set SPI to the onboard Wiznet chip
126+
SPI.setRX(16);
127+
SPI.setCS(17);
128+
SPI.setSCK(18);
129+
SPI.setTX(19);
130+
...
131+
eth.begin();
132+
...
133+
}
114134
115135
Example Code
116136
------------

0 commit comments

Comments
 (0)
0