d02f089058
Pin defines are: - For Pico define board pins and the default LED pin (WL_GPIO25). - For Pico-W define board pins, external pins and the default LED pin (WL_GPIO0). - For the Nano-RP2040, define board pins, external pins and the default LED pin (GPIO25) - For all other boards, the pins.csv defines the LED pin (if any) for backwards compatibility with code that assumes there's always an LED pin. |
||
---|---|---|
.. | ||
board.json | ||
mpconfigboard.cmake | ||
mpconfigboard.h | ||
pins.csv | ||
readme.md |
readme.md
Wiznet W5500-EVB-Pico
Network Example
To use network / socket based code, connect ethernet port to network with DHCP running:
>>> import network
>>> nic = network.WIZNET5K()
>>> nic.active(True)
>>> nic.ifconfig()
('0.0.0.0', '0.0.0.0', '0.0.0.0', '0.0.0.0')
>>> nic.ifconfig("dhcp")
('192.168.0.10', '255.255.255.0', '192.168.0.1', '192.168.0.1')
>>> nic.isconnected()
True
At this point standard network communications libraries should work.