  * example code illustrating time synced from a DCF77 receiver
  * Thijs Elenbaas, 2012
  * This example code is in the public domain.
-
-  This example shows how to fetch a DCF77 time and synchronize
-  the internal clock. In order for this example to give clear output,
-  make sure that you disable logging  from the DCF library. You can 
-  do this by commenting out   #define VERBOSE_DEBUG 1   in Utils.cpp. 
+ 
+ This example shows how to fetch a DCF77 time and synchronize
+ the internal clock. In order for this example to give clear output,
+ make sure that you disable logging  from the DCF library. You can 
+ do this by commenting out   #define VERBOSE_DEBUG 1   in Utils.cpp. 
  */
 
 #include <DCF77.h>       //https://github.com/thijse/Arduino-Libraries/downloads

{  
  if( now() != prevDisplay) //update the display only if the time has changed
  {
    prevDisplay = now();
    digitalClockDisplay();  
  }
}

void digitalClockDisplay(){
  // digital clock display of the time
  Serial.println("");
  Serial.print(hour());
  printDigits(minute());
  printDigits(second());

  time_t DCFtime = DCF.getTime();
  // Indicator that a time check is done
  if (DCFtime!=0) {
    Serial.println("Reiceived DCF77 time signal, updating RTC...");
    void digitalClockDisplay();
    // set the RTC
    RTC.set(DCFtime);  
  }
  return DCFtime;
}


