Simon Ford
/
set_time_example
Revision 0:f5024b821ae1, committed 2009-10-28
- Comitter:
- simon
- Date:
- Wed Oct 28 23:05:47 2009 +0000
- Commit message:
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Oct 28 23:05:47 2009 +0000 @@ -0,0 +1,5 @@ +#include "mbed.h" + +int main() { + set_time(1256729737); // Set RTC time to Wed, 28 Oct 2009 11:35:37 +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Wed Oct 28 23:05:47 2009 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/20a79241b4a0