Junichi Katsu
/
PCSerial_test
PCシリアルサンプルプログラム ロボット製作セミナー演習
Revision 0:01a332b879d2, committed 2011-08-26
- Comitter:
- jksoft
- Date:
- Fri Aug 26 15:25:31 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 |
diff -r 000000000000 -r 01a332b879d2 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Aug 26 15:25:31 2011 +0000 @@ -0,0 +1,10 @@ +#include "mbed.h" + +Serial pc(USBTX, USBRX); // tx, rx + +int main() { + pc.printf("Hello World!\r\n"); + while(1) { + pc.putc(pc.getc() + 1); + } +}
diff -r 000000000000 -r 01a332b879d2 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri Aug 26 15:25:31 2011 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/63bcd7ba4912