MAXIM DS3231 accurate Real Time Clock Library

Dependents:   I2C-LCD-DHT22 wifigpslcd HomeStatus project ... more

Revision:
2:6718c4fabf95
Parent:
1:84ccc64067d8
--- a/DS3231.h	Sat Dec 22 19:56:16 2012 +0000
+++ b/DS3231.h	Sat Dec 22 19:58:42 2012 +0000
@@ -33,6 +33,8 @@
      RTC.setI2Cfrequency(400000);
     
      //RTC.writeRegister(DS3231_Aging_Offset,0); // uncomment to set Aging Offset 1LSB = approx. 0.1 ppm according from datasheet = 0.05 ppm @ 21 °C from my measurments
+     
+     RTC.convertTemperature();
       
      int reg=RTC.readRegister(DS3231_Aging_Offset);
      if (reg>127)