problema a far rimanere data e ora corretta su rtc

Nel setup inserisci questa righe:

  RTC.begin();                                     // initialize RTC

  if (! RTC.isrunning()) {
    RTC.adjust(DateTime(__DATE__, __TIME__));      // sets RTC to the compilation date/time
  }