 #define debug2(a, b)
 #endif
 
-const int errorLED = 5;
-const int downloadLED = 6;
-const int readyLED = 7;
+const byte errorLED = 5;
+const byte downloadLED = 6;
+const byte readyLED = 7;
 
 void initDiagnosticLEDs() {
   pinMode(errorLED, OUTPUT);

  cache.close();
}

const int buttonPin = 8;
Bounce bouncer = Bounce(buttonPin, 5); // 5 millisecond debounce
unsigned long pollingDelay = 10000; // 1 minute


    }
  } else {
    debug("Couldn't connect");
    for(byte i=0; i < 10; i++) {
      digitalWrite(errorLED, HIGH);
      delay(100);
      digitalWrite(errorLED, LOW);
