Simon Ford / Mbed 2 deprecated set_time_example

Dependencies:   mbed

Files at this revision

API Documentation at this revision

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
diff -r 000000000000 -r f5024b821ae1 main.cpp
--- /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
+}
diff -r 000000000000 -r f5024b821ae1 mbed.bld
--- /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