Simple RTC class based on DS1307. Emphasis on simple. Allows you to run at 100k or 400k Hz (for newer DS1307 capable devices). MapTime() allows you to set the time() service to the same as the RTC. Uses struct tm throughout so you can use traditional time functions for manipulation.

Dependents:   AdaFruit_RGBLCD

Revisions of RTclock.cpp

Revision Date Message Actions
16:f7e4b4cbfb9e 2014-10-09 Fixed midnight bug.; Fixed minutes going beyond 59. File  Diff  Annotate
15:1645f55bd0ee 2014-10-08 Fix for month. File  Diff  Annotate
14:d5b47ff12d17 2014-10-08 Fix for handling month. File  Diff  Annotate
13:1ccadbd4c1bd 2014-09-03 Moved address for RTclock out of class. File  Diff  Annotate
12:9e7a91c34083 2014-09-03 Fixed bug in buffer caused by sizeof() File  Diff  Annotate
11:49b987f6ae26 2014-09-02 Updated read / write types. File  Diff  Annotate
10:e5eabd3a1ca6 2014-09-02 Changed to use shared I2C object File  Diff  Annotate
9:3a0ba8364ef2 2014-08-30 Added support for DS3231 File  Diff  Annotate
7:3621025e7949 2014-08-10 Removed weekday support as not useful in a generic class.; Renamed members to patch coding style of other modules. File  Diff  Annotate
5:d71d6e5a7eee 2014-08-09 Added 12/24 hour am/pm support. File  Diff  Annotate
4:04a51e4dbf4c 2014-08-09 Fix for 12 hour clock past midday. File  Diff  Annotate
3:ed1628b05d37 2014-08-09 Fix for week day names (wrong order) File  Diff  Annotate
2:3dc63e48cb5d 2014-08-09 Fixed setting of the year (RTC is from 2000, struct tm time is from 1900). File  Diff  Annotate
1:8952befe5d36 2014-08-09 Fix for year calculation File  Diff  Annotate
0:98b84d9c8c96 2014-08-09 First version. Normalised version of DS1307 I2C control. Designed to map into the internal time.h functions using MapTime. File  Diff  Annotate