うでのかい用のpublishテストです。

Dependencies:   mbed

Committer:
MrBearing
Date:
Sun May 22 04:18:05 2011 +0000
Revision:
0:eca6c608eea5

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
MrBearing 0:eca6c608eea5 1 #include "mbed.h"
MrBearing 0:eca6c608eea5 2
MrBearing 0:eca6c608eea5 3 Serial pc(USBTX, USBRX); // tx, rx
MrBearing 0:eca6c608eea5 4
MrBearing 0:eca6c608eea5 5 int main() {
MrBearing 0:eca6c608eea5 6 pc.printf("Hello World!\n");
MrBearing 0:eca6c608eea5 7 pc.printf("Echoes back to the screen anything you type");
MrBearing 0:eca6c608eea5 8
MrBearing 0:eca6c608eea5 9 while (1) {
MrBearing 0:eca6c608eea5 10 pc.putc(pc.getc());
MrBearing 0:eca6c608eea5 11 }
MrBearing 0:eca6c608eea5 12 }