PCシリアルサンプルプログラム ロボット製作セミナー演習
Dependencies:
mbed
main.cpp
- Committer:
- jksoft
- Date:
- 2011-08-26
- Revision:
- 0:01a332b879d2
File content as of revision 0:01a332b879d2:
#include "mbed.h"
Serial pc(USBTX, USBRX); // tx, rx
int main() {
pc.printf("Hello World!\r\n");
while(1) {
pc.putc(pc.getc() + 1);
}
}