Updated Adafruit Library
Fork of Adafruit_RTCLib by
Diff: DS1307.cpp
- Revision:
- 2:f372b273d88f
- Parent:
- 1:2c4e81ecda67
--- a/DS1307.cpp Wed Jul 18 01:28:21 2012 +0000 +++ b/DS1307.cpp Thu Jun 08 15:26:26 2017 +0000 @@ -19,7 +19,7 @@ static uint8_t bcd2bin (uint8_t val) { return val - 6 * (val >> 4); } static uint8_t bin2bcd (uint8_t val) { return val + 6 * (val / 10); } -RtcDs1307::RtcDs1307(I2C &i2c) : mI2c(i2c) +RtcDs1307::RtcDs1307(SoftI2C &i2c) : mI2c(i2c) { // Read the RTC ram into the object RAM image mRam[0]=8;