wt32-eth01 micropython 1.20 LAN Port not function #11446
Unanswered
winitboonkliang
asked this question in
ESP32
Replies: 1 comment 1 reply
-
I actually managed to make it work: import network Two crucial things: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
wt32-eth01 (V1.4 PCB) Lan Error
import network
import time
import machine
from machine import UART
from machine import Pin
lan = network.LAN(mdc = machine.Pin(23), mdio = machine.Pin(18), power = None, phy_type = network.PHY_LAN8720, phy_addr=0)
lan.active(1)
print('ifconfig :', lan.ifconfig())
print('status : ', lan.status())
print('isconnected : ', lan.isconnected())
print('active : ', lan.active())
OSError: esp_eth_set_default_handlers failed (invalid parameter)
Beta Was this translation helpful? Give feedback.
All reactions