   // print your local IP address:
   debug2("IP address: ", Ethernet.localIP());
 }
-
 
 void setup(){
   Serial.begin(9600);

  SD.begin(SD_Pin);
}

void initNetwork() {
  // start the Ethernet connection:
  if (Ethernet.begin(mac) == 0) {

#include <SoftwareSerial.h>
#include <Thermal.h>

#define debug(a) Serial.print(millis()); Serial.print(": "); Serial.println(a);
#define debug2(a, b) Serial.print(millis()); Serial.print(": "); Serial.print(a); Serial.println(b);

const int greenPin = 6;
const int redPin = 7;

void initDiagnosticLEDs() {
  pinMode(greenPin, OUTPUT);
  pinMode(redPin, OUTPUT);
