うでのかい用のpublishテストです。
Revision 0:eca6c608eea5, committed 2011-05-22
- Comitter:
- MrBearing
- Date:
- Sun May 22 04:18:05 2011 +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 Sun May 22 04:18:05 2011 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+
+Serial pc(USBTX, USBRX); // tx, rx
+
+int main() {
+ pc.printf("Hello World!\n");
+ pc.printf("Echoes back to the screen anything you type");
+
+ while (1) {
+ pc.putc(pc.getc());
+ }
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sun May 22 04:18:05 2011 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/63bcd7ba4912
Takumi Okamoto