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


Messages In This Thread
LAN8720 - by desert286 - 07-16-2024, 03:29 PM
RE: LAN8720 - by admin - 07-16-2024, 09:46 PM
RE: LAN8720 - by desert286 - 07-17-2024, 05:40 AM
RE: LAN8720 - by admin - 07-17-2024, 05:52 AM
RE: LAN8720 - by desert286 - 07-17-2024, 06:07 AM
RE: LAN8720 - by admin - 07-17-2024, 09:37 AM
RE: LAN8720 - by desert286 - 07-17-2024, 10:02 AM
RE: LAN8720 - by admin - 07-17-2024, 12:22 PM
RE: LAN8720 - by desert286 - 07-17-2024, 01:39 PM
RE: LAN8720 - by admin - 07-17-2024, 02:17 PM
RE: LAN8720 - by tonbor - 08-06-2024, 05:09 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)