Smart Home Automation Forum

Full Version: [Arduino IDE demo source code for KC868-A16]--#11-KC868-A16_Ethernet_Web_server_code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
it should be these setting:
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO17_OUT
phy_addr: 0

change your ETH_PHY_ADDR to 0
This will not work because your code is wrong.
change -> ETH.begin(ETH_ADDR, ETH_POWER_PIN, ETH_MDC_PIN, ETH_MDIO_PIN, ETH_TYPE, ETH_CLK_MODE); //wrong
in
ETH.begin(ETH_TYPE, ETH_ADDR, ETH_MDC_PIN, ETH_MDIO_PIN, ETH_POWER_PIN , ETH_CLK_MODE); //right
And the code will compile
ok, good.
Pages: 1 2