Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
simon
Date:
Wed Oct 28 22:54:37 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 eb8bb5ba6023 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Oct 28 22:54:37 2009 +0000
@@ -0,0 +1,9 @@
+#include "mbed.h"
+
+int main() {
+    while(1) {
+        time_t seconds = time(NULL);
+        printf("Seconds since January 1, 1970: %d\n", seconds);
+        wait(1);
+    }
+}
diff -r 000000000000 -r eb8bb5ba6023 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Wed Oct 28 22:54:37 2009 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/20a79241b4a0