 void setup() {
   // serial debug connection
   Serial.begin(115200);
+  // I/O
+  pinMode(RELAY1, OUTPUT);
+  pinMode(RELAY2, OUTPUT);
+  pinMode(RELAY4, OUTPUT);
   // put your setup code here, to run once:
   Serial.println(F("\nInitialising the LCD ..."));
   lcd.begin(20,4);

  // put your main code here, to run repeatedly:
  now = rtc.now();
  DU.update(lcd, rtc, cc3000);
 
}

                                         SPI_CLOCK_DIVIDER); // you can change this clock speed but DI
// end cc3000 setup things
// =====================================================
// relay shield stuff
#define RELAY1 7
#define RELAY2 6
#define RELAY3 5 // don't use; conflicts with CC3000 VBAT_SW_EN
#define RELAY4 4
// keys
#define KEY_CANCEL 0
#define KEY_DOWN 1
#define KEY_UP 2
#define KEY_OK 8

DateTime now = DateTime(0);

