   if ( rtc.isrunning() ) {
     // following line sets the RTC to the date & time this sketch was compiled
     rtc.adjust(compileTime);
+    setDst(compileTime);
   
     DateTime now = rtc.now();
     Serial.print( F("Rtc now is "));

    pressed = false;
}

/*******************************************************************************
 * Setup the RealTimeClock breakout
*******************************************************************************/


#define MODE_SWITCH_PIN 10
int mode = 0; 
int inDst = 0;

DateTime compileTime;

const int MODE_INDEX = 0;           // EEPROM index of mode (int)

/*******************************************************************************
*******************************************************************************/
