Importat!! This is an old post. ENC28J60 is not used anymore since 2015. You have to install our boards to use Ethernet communication.
M-duino PLC is using an ENC28J60 chip in order to connect to Ethernet. You can choose two libraries in order to connect all M-duino family products
- UIPEthernet: you can find in Gitub. It uses the same functions as the Official Arduino Ethernet Shield.
- EtherCard: You can find this documentation and libraries in the Jeelabs website. You need to import all libraries:
Sketch / Import Library / Add Library.
And then restart Arduino IDE. It’s important to take into account:
///// static byte mymac[] = {0xFF,...,0xFF}; // Valor de la MAC del ethernet. if (ether.begin(sizeof Ethernet::buffer, mymac, 53) == 0) Serial.println("Failed to access Ethernet controller"); ////