   resetSleep(settings.period);
 #ifndef NOETH
   // Try to configure the ethernet using DHCP
+  Serial.println("@dhcp");
   if (Ethernet.begin(settings.mac) == 0) {
     Serial.println("@dhcp: fail");
     return;
   }
+  Serial.println("@dhcp done");
   // Start server
   server.begin();
   // Init SD

int R1 = 100;
int R2 = 10;
int OFFSET = 2500;
int SENSITIVITY = 850;
int PERIOD = 2000;

// Control loop paramters

//#define DEBUG

// comment/uncomment to disable/enable ethernet support
#define NOETH

#define RELAY_PIN 2

