// Een simpele webserver die "Hallo Colani" zegt #include "etherShield.h" #include "ETHER_28J60.h" // Definieer MAC en IP adres - beiden dienen uniek te zijn in jouw netwerk static uint8_t mac[6] = {0x50, 0x50, 0x50, 0x50, 0x60, 0x50}; static uint8_t ip[4] = {10, 0, 0, 155}; static uint16_t port = 80; // Gebruik poort 80 - standaard voor HTTP ETHER_28J60 ethernet; void setup() { ethernet.setup(mac, ip, port); } void loop() { if (ethernet.serviceRequest()) { ethernet.print("

Hallo Colani

"); ethernet.respond(); } delay(100); }