a copy of PCF8583_rtc lib with some modification

Fork of PCF8583_rtc by Dennis Smith

Revision:
2:3291c1f0b986
Parent:
1:eaba89d6e5d8
--- a/PCF8583_rtc.cpp	Sun Feb 23 21:27:24 2014 +0000
+++ b/PCF8583_rtc.cpp	Tue Feb 25 23:41:08 2014 +0000
@@ -30,8 +30,6 @@
    _i2c = i2c;
    _I2cAddress = I2cAddress;
    
-  configureControlReg(0);
-      
   ShortDateFormat = "d,m,yy";
   LongDateFormat  = "dddd dd mmmm yyyy";
   ShortTimeFormat = "d:m:yy";
@@ -359,7 +357,7 @@
 
     buf[0] = address;
     buf[1] = d;
-    _i2c->write(_I2cAddress, buf, 2);                              // Address PCF8583, see PCF8583 datasheet
+    _i2c->write(_I2cAddress, buf, 2);
     _i2c->stop();
 }