kopia lustrzana https://github.com/micropython/micropython
24a6e951ec
This commit: - Finds a common set of board feature tags and maps existing features to that reduced set. - Removes some less-useful board feature tags. - Ensures all MCUs are specified correctly. - Ensures all boards have a vendor (and fixes some vendor names). This is to make the downloads page show a less intimidating set of filters. Work done in conjunction with Matt Trentini <matt.trentini@gmail.com>. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com> |
||
---|---|---|
.. | ||
board.json | ||
manifest.py | ||
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.