Answer the question
In order to leave comments, you need to log in
How to switch compilation of libraries in Arduino?
Simple sketch
#include <SPI.h>
#define MODE_LIB
#include <Ethernet.h>
//#include <Ethernet2.h>
byte mac[] = {0x00, 0x2A, 0xF5, 0x12, 0x67, 0x5A};
byte ip[] = {192, 168, 1, 55};
void setup() {
Ethernet.begin(mac, ip);
}
void loop() {
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question