Created
April 18, 2019 07:26
-
-
Save shimarin/0ba219c1ec143f02a5a5bcad55ffea96 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import machine,network | |
lan = network.LAN(id = None, mdc = machine.Pin(23), mdio = machine.Pin(18), power = machine.Pin(2), phy_addr = 1, phy_type = network.PHY_LAN8720) | |
lan.active(1) | |
lan.ifconfig() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment