Takumi Okamoto
/
test_for_udenokai
うでのかい用のpublishテストです。
Diff: main.cpp
- Revision:
- 0:eca6c608eea5
diff -r 000000000000 -r eca6c608eea5 main.cpp --- /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