Y S
/
USBSerial_echo
USBSerial echo test program
Revision 1:38bc94601712, committed 2014-06-02
- Comitter:
- sena
- Date:
- Mon Jun 02 08:13:39 2014 +0000
- Parent:
- 0:e203d163c8f6
- Commit message:
- USBSerial echo test program
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r e203d163c8f6 -r 38bc94601712 main.cpp --- a/main.cpp Mon Jun 02 07:27:26 2014 +0000 +++ b/main.cpp Mon Jun 02 08:13:39 2014 +0000 @@ -10,7 +10,7 @@ while(1) { serial.scanf("%s", buf); - serial.printf("USBSerial: %s\r\n", buf); - pc.printf("UARTrecv: %s\r\n", buf); + serial.printf("USBSerial: %s\r\n", buf); // USBport + pc.printf("UARTrecv: %s\r\n", buf); // UARTport } } \ No newline at end of file