Skip to content

Commit

Permalink
Add WIZnet W5100S-EVB-Pico docs (#1713)
Browse files Browse the repository at this point in the history
  • Loading branch information
earlephilhower committed Sep 16, 2023
1 parent f5e8e5b commit 0ed1f3d
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion docs/ethernet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ a wired interface.
Supported Wired Ethernet Modules
--------------------------------

* Wiznet W5100
* Wiznet W5100(s)

* Wiznet W5500

Expand Down Expand Up @@ -111,6 +111,26 @@ For example, to set the W5500 to use a 30MHZ clock:
...
}
Using the WIZnet W5100S-EVB-Pico
--------------------------------

You can use the onboard Ethernet chip with these drivers by utilizing the following options:

.. code:: cpp
#include <W5100lwIP.h>
Wiznet5100lwIP eth(17); // Note chip select is **17**
void setup() {
// Set SPI to the onboard Wiznet chip
SPI.setRX(16);
SPI.setCS(17);
SPI.setSCK(18);
SPI.setTX(19);
...
eth.begin();
...
}
Example Code
------------
Expand Down

0 comments on commit 0ed1f3d

Please sign in to comment.