08-06-2024, 05:09 PM
(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.Source is wrong
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
//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