IOP / Mbed 2 deprecated Uart_Printf_HelloWorld_WIZwiki-W7500

Dependencies:   mbed

Fork of Serial_HelloWorld_Mbed by eunkyoung kim

Revision:
5:4e99dfae8dca
Parent:
4:3974a6c7b088
Child:
6:3689cb2a18f4
--- a/main.cpp	Tue Aug 04 23:22:53 2015 +0000
+++ b/main.cpp	Thu Jan 07 00:02:17 2016 +0000
@@ -8,12 +8,12 @@
 Serial pc(USBTX,USBRX);             
 
 int main() {    
-    pc.baud(9600);                  // set baudrate
+    pc.baud(115200);                  // set baudrate
     
     pc.printf("Hello World!\n");    // string output
     
-    while(1) {
-        pc.putc(pc.getc());         // typing characters
+    while(1) {        
+        pc.putc(pc.getc()+1);         // typing characters
     }
 }