Skip to content

Instantly share code, notes, and snippets.

#include <Ethernet2.h>
#include <SPI.h>
#include <SkaarhojPgmspace.h>
// MAC address and IP address for this *particular* Arduino / Ethernet Shield!
// The MAC address is printed on a label on the shield or on the back of your device
// The IP address should be an available address you choose on your subnet where the switcher is also present
byte mac[] = { 0x90, 0xA2, 0xDA, 0x10, 0x0B, 0x68 }; // <= SETUP! MAC address of the Arduino
IPAddress clientIp(192, 168, 10, 99); // <= SETUP! IP address of the Arduino