wiznet¶
Support for WizNet hardware, including the WizNet 5500 Ethernet adaptor.
-
class
wiznet.WIZNET5K(spi: busio.SPI, cs: microcontroller.Pin, rst: microcontroller.Pin, dhcp: bool = True)¶ Wrapper for Wiznet 5500 Ethernet interface
-
connected:Any¶ (boolean, readonly) is this device physically connected?
-
dhcp:Any¶ (boolean, readwrite) is DHCP active on this device?
set to True to activate DHCP, False to turn it off
-
ifconfig(self, params: Any = None)¶ Called without parameters, returns a tuple of (ip_address, subnet_mask, gateway_address, dns_server)
Or can be called with the same tuple to set those parameters. Setting ifconfig parameters turns DHCP off, if it was on.
-