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.
Hello! Could you please advise me about the board? When I try to write this sketch, I get the following error during compilation.
I installed the latest version of the WebServer_WT32_ETH01.h and PCF8574.h libraries. Big Grin
do you have downloaded ZIP file and unzip source code to use?
(12-06-2025, 01:05 AM)admin Wrote: [ -> ]do you have downloaded ZIP file and unzip source code to use?

Yes, that's right, but I downloaded the libraries from the Arduino library manager
When I tried to load the AdvancedWebServer example from the WebServer_WT32_ETH01 library onto the board, I got the same error
please check where have the invalid UTF-8 code.
Pages: 1 2