Hello World, counting + green blinking light

Dependencies:   MODSERIAL mbed

Fork of Minor_test_serial by First Last

Files at this revision

API Documentation at this revision

Comitter:
Iheuvel
Date:
Mon Sep 12 09:58:29 2016 +0000
Parent:
0:c8f15874531b
Commit message:
First attempt

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Sep 02 14:50:46 2015 +0000
+++ b/main.cpp	Mon Sep 12 09:58:29 2016 +0000
@@ -8,7 +8,7 @@
 {
     int i = 0;
     pc.baud(115200);
-    pc.printf("Hello World!\n");
+    pc.printf("Hello World!\n\r");
     
     while (true) {
         wait(0.5f); // wait a small period of time