Networking-for-Arduino / EthernetENC

Ethernet library for ENC28J60. This is a modern version of the UIPEthernet library. EthernetENC library is compatible with all Arduino architectures with Arduino SPI library with transactions support. Only include EthernetENC.h instead of Ethernet.h
127 stars 28 forks source link

no function `ethernet.MACAddress()` to drop-in replace ethernet.h #55

Closed cyberboy666 closed 8 months ago

cyberboy666 commented 8 months ago

i am trying to use this library as a drop-in replacement for the standard arduino ethernet library inside the this artnet library

everything works perfectly - except for this line in artnet code where it calls:

#ifndef ESP8266
            Ethernet.MACAddress(mac);
#endif

which doesnt exist in the EthernetENC version.

ultimately i want to add support for EthernetENC to the artnet library - although its not clear to me if i should solve this by modifying the logic in artnet or adding this function to this library ? is this meant to be used as drop-in like this ? is it possible to add this function here or a reason why its not here ?

thanks for your help!

JAndrassy commented 8 months ago

done

cyberboy666 commented 8 months ago

tested for my use case and it works! thanks again