 
 #include "Cosa/InputPin.hh"
 #include "Cosa/OutputPin.hh"
-#include "Cosa/RTC.hh"
 #include "Cosa/Watchdog.hh"
 #include "Cosa/Trace.hh"
 #include "Cosa/IOStream/Driver/UART.hh"
 
 // Set the real-time clock
 // #define SET_TIME
-
-// Example calibration values for internal clocks
-// 1. Duemilanove Clone (Funduino 2012 May)
-// #define RTC_CALIBRATION_MS 0
-// #define WATCHDOG_CALIBRATION_MS -13
-// 2. Leonardo (Made in Italy)
-// #define RTC_CALIBRATION_MS -2
-// #define WATCHDOG_CALIBRATION_MS -98
-// 3. Mega 2560 Clone
-// #define RTC_CALIBRATION_MS -5
-// #define WATCHDOG_CALIBRATION_MS -68
-// 4. Mega 2560 Clone (Funduino)
-// #define RTC_CALIBRATION_MS 0
-// #define WATCHDOG_CALIBRATION_MS -110
-// 5. Nano Clone (DCCduino)
-// #define RTC_CALIBRATION_MS 0
-// #define WATCHDOG_CALIBRATION_MS -24
-// 6. Pro-Mini Clone (white reset button)
-// #define RTC_CALIBRATION_MS 0
-// #define WATCHDOG_CALIBRATION_MS 25
-// 7. Pro-Mini Clone (Deek Robot, red reset button)
-// #define RTC_CALIBRATION_MS 0
-// #define WATCHDOG_CALIBRATION_MS -1
-// 8. Uno R3 Clone (GEtech)
-// #define RTC_CALIBRATION_MS 0
-// #define WATCHDOG_CALIBRATION_MS -112
-// 9. Uno R3 Clone (VISduino)
-// #define RTC_CALIBRATION_MS 0
-// #define WATCHDOG_CALIBRATION_MS -24
 
 // The real-time device, latest start and sample time in ram
 DS1307 rtc;

 * Lesser General Public License for more details.
 *
 * @section Description
 * Cosa demonstration of the DS1307 I2C/Two-Wire Realtime clock device.
 *
 * @section Circuit
 * @code

  uint8_t pos = offsetof(DS1307::timekeeper_t, control);
  count = rtc.read(&control, sizeof(control), pos);
  ASSERT(count == sizeof(control));
  trace << PSTR("control: ") << bin << control << endl;
  trace.flush();
}

void loop()
