Software implemented real time clock driven by a Ticker. No external hardware (like DS1307 or DS3231 or etc.) is needed. Should work on any mbed platform where Ticker works.
See demo:
Import programClock_Hello
Demo for the Clock library (real time clock driven by a Ticker).
History
fixed constructor, added destructor, FunctionPointer replaced with Callback
2019-01-15, by hudakz [Tue, 15 Jan 2019 14:46:57 +0000] rev 6
fixed constructor, added destructor, FunctionPointer replaced with Callback
Added support for attaching member functions as interrupt handler.
2016-05-20, by hudakz [Fri, 20 May 2016 18:14:34 +0000] rev 5
Added support for attaching member functions as interrupt handler.
Comments updated.
2016-04-01, by hudakz [Fri, 01 Apr 2016 07:23:02 +0000] rev 4
Comments updated.
Day of week added.
2015-11-30, by hudakz [Mon, 30 Nov 2015 11:36:09 +0000] rev 3
Day of week added.
Updated
2015-11-21, by hudakz [Sat, 21 Nov 2015 10:00:28 +0000] rev 2
Updated
Constructor taking t_time added.
2015-10-24, by hudakz [Sat, 24 Oct 2015 11:19:24 +0000] rev 1
Constructor taking t_time added.
Initial release
2015-04-30, by hudakz [Thu, 30 Apr 2015 10:22:17 +0000] rev 0
Initial release