 
 
 
-  if (! rtc.isrunning()) {
-    Serial.println("RTC is NOT running!");
-    // following line sets the RTC to the date & time this sketch was compiled
-    // rtc.adjust(DateTime(__DATE__, __TIME__));
-  }
 }
 
 

void setup () {
  Serial.begin(57600);
  Wire.begin();
  rtc.begin();
  lcd.init();                      // initialize the lcd 
  lcd.backlight();
  lcd.home();


void digitalClockDisplay(){
  // digital clock display of the time
  tmElements_t tm;
  RTC.read(tm);

  printDigits(tm.Hour/10,0); 
  printDigits(tm.Hour%10,4); 

  printDigits(tm.Minute/10,9);
  printDigits(tm.Minute%10,13);

  // lcd.setCursor(7, 1);
  //  lcd.print(now.second()/10);
  //   lcd.print(now.second()%10);


  if (tm.Second%10%2==0){
    lcd.setCursor(7, 0);
    lcd.print("+ ");
    lcd.setCursor(7, 1);
