lib
Fork of DS1338 by
Diff: ds1338.cpp
- Revision:
- 2:c62527bddf0f
- Parent:
- 1:e77d69913c46
--- a/ds1338.cpp Wed Mar 04 13:09:54 2015 +0000 +++ b/ds1338.cpp Tue Dec 13 15:12:58 2016 +0000 @@ -7,7 +7,7 @@ * @param scl : scl i2c pin (PinName) */ DS1338::DS1338(PinName sda, PinName scl): _i2c(sda, scl) { - _i2c.frequency(400000); + _i2c.frequency(100000); buffer[0]=0x07; _i2c.write(DS1338_ADR,buffer,1,true); _i2c.read(DS1338_ADR,buffer,1);