asd

Dependencies:   mbed

Fork of Serial_HelloWorld_Mbed by mbed official

Revision:
2:4824df3bdaf9
Parent:
0:879aa9d0247b
--- a/main.cpp	Wed Apr 09 23:50:40 2014 +0000
+++ b/main.cpp	Wed Dec 03 20:07:29 2014 +0000
@@ -1,8 +1,10 @@
 #include "mbed.h"
  
-Serial pc(USBTX, USBRX); // tx, rx
+Serial pc(PTA2, PTA1); // tx, rx
  
 int main() {
+    pc.baud(115200);
+
     pc.printf("Hello World!\n");
     while(1) {
         pc.putc(pc.getc() + 1);