Justin Howard / RTclock

Dependents:   AdaFruit_RGBLCD

Changes

RevisionDateWhoCommit message
17:bdc15c054ac1 2015-01-24 vtraveller Fixed bug where tm struct used a month range of 0-11 and the DS3231 uses a range 1-12. default tip
16:f7e4b4cbfb9e 2014-10-09 vtraveller Fixed midnight bug.; Fixed minutes going beyond 59.
15:1645f55bd0ee 2014-10-08 vtraveller Fix for month.
14:d5b47ff12d17 2014-10-08 vtraveller Fix for handling month.
13:1ccadbd4c1bd 2014-09-03 vtraveller Moved address for RTclock out of class.
12:9e7a91c34083 2014-09-03 vtraveller Fixed bug in buffer caused by sizeof()
11:49b987f6ae26 2014-09-02 vtraveller Updated read / write types.
10:e5eabd3a1ca6 2014-09-02 vtraveller Changed to use shared I2C object
9:3a0ba8364ef2 2014-08-30 vtraveller Added support for DS3231
8:2192f2809f59 2014-08-11 vtraveller Added helper functions for setting mbed internal clock without DS1307 device present.
7:3621025e7949 2014-08-10 vtraveller Removed weekday support as not useful in a generic class.; Renamed members to patch coding style of other modules.
6:984fd3ba519a 2014-08-09 vtraveller tm always in 24hour format. Flag on SetTime allows you to choose 12hour clock format. Use IsTwelveHour() to determine if you should adjust tm.tm_hour for display.
5:d71d6e5a7eee 2014-08-09 vtraveller Added 12/24 hour am/pm support.
4:04a51e4dbf4c 2014-08-09 vtraveller Fix for 12 hour clock past midday.
3:ed1628b05d37 2014-08-09 vtraveller Fix for week day names (wrong order)
2:3dc63e48cb5d 2014-08-09 vtraveller Fixed setting of the year (RTC is from 2000, struct tm time is from 1900).
1:8952befe5d36 2014-08-09 vtraveller Fix for year calculation
0:98b84d9c8c96 2014-08-09 vtraveller First version. Normalised version of DS1307 I2C control. Designed to map into the internal time.h functions using MapTime.