Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
simon
Date:
Tue Dec 01 14:27:10 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	Tue Dec 01 14:27:10 2009 +0000
@@ -0,0 +1,13 @@
+// display clock frequency at 921600 baud, sford
+
+#include "mbed.h"
+
+Serial pc(USBTX, USBRX);
+
+int main() {
+    pc.baud(921600);
+    pc.printf("SystemCoreClock = %d Hz\n", SystemCoreClock);
+    while(1) {
+        pc.putc(pc.getc() + 1);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue Dec 01 14:27:10 2009 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/49a220cc26e0