Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LAN8720
#11
(07-16-2024, 03:29 PM)desert286 Wrote: Hi everybody. I have a problem: I need to configure the KS868-E16st board so that the relays on it turn on according to the get request. I tried to use the code from this appeal: https://www.kincony.com/forum/showthread.php?tid=1927 But without result.
When compiling the code, the following error pops up:

invalid conversion from 'int' to 'eth_phy_type_t' [-fpermissive]

Maybe the problem is with the wrong board in the Arduino IDE?

Versions of my apps:
Arduino 1.8.19
Ethernet 1.1.2

I hope on your help!
Thanks
Source is wrong
  //ETH.begin(ETH_ADDR, ETH_POWER_PIN, ETH_MDC_PIN, ETH_MDIO_PIN, ETH_TYPE, ETH_CLK_MODE); //start with ETH WRONG
ETH.begin(ETH_TYPE, ETH_ADDR, ETH_MDC_PIN, ETH_MDIO_PIN, ETH_POWER_PIN , ETH_CLK_MODE); //start with ETH Right
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)