Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Arduino IDE demo source code for KC868-A16]--#11-KC868-A16_Ethernet_Web_server_code
#11
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
Reply
#12
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
Reply
#13
ok, good.
Reply
#14
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


Attached Files Image(s)
   
Reply
#15
do you have downloaded ZIP file and unzip source code to use?
Reply
#16
(Yesterday, 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


Attached Files Image(s)
       
Reply
#17
please check where have the invalid UTF-8 code.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)