Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 0:eb8bb5ba6023, committed 2009-10-28
- 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 |
--- /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);
+ }
+}
--- /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