Slightly different message and adds \r to the printf for terminal programs like screen /dev/ttyACM0 which don't add <CR> automatically.

Dependencies:   mbed

Revision:
2:a361a088704a
Parent:
1:e9d1c42a73ae
--- a/main.cpp	Fri Feb 28 06:52:34 2014 +0000
+++ b/main.cpp	Sun Nov 16 06:46:27 2014 +0000
@@ -11,10 +11,10 @@
  
 int main() {
   int i = 1;
-  pc.printf("Hello World !\n");
+  pc.printf("Hello World !\r\n");
   while(1) { 
       wait(1);
-      pc.printf("This program runs since %d seconds.\n", i++);
+      pc.printf("This has been running for %d seconds.\r\n", i++);
       myled = !myled;
   }
 }