Use Uart
Dependencies: mbed
Fork of Serial_HelloWorld_Mbed by
Diff: main.cpp
- Revision:
- 1:5f5162adee9f
- Parent:
- 0:879aa9d0247b
- Child:
- 2:ab03b0b5012c
--- a/main.cpp Tue Feb 12 17:39:05 2013 +0000 +++ b/main.cpp Mon Jun 29 01:40:30 2015 +0000 @@ -1,6 +1,6 @@ #include "mbed.h" -Serial pc(USBTX, USBRX); // tx, rx +Serial pc(PC_2, PC_3); // tx, rx int main() { pc.printf("Hello World!\n");