frdm serial example for the Freescale freedom platform

Dependencies:   mbed

Fork of frdm_serial by Freescale

This example uses the serial peripheral to send a static "Hello World" string and a variable string.

Files at this revision

API Documentation at this revision

Comitter:
emilmont
Date:
Tue Oct 23 09:35:31 2012 +0000
Parent:
0:f59179afee57
Child:
2:21dc355630f2
Commit message:
Update mbed library

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-KL25Z.lib Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Oct 11 12:46:54 2012 +0000
+++ b/main.cpp	Tue Oct 23 09:35:31 2012 +0000
@@ -7,7 +7,7 @@
     int i=0;
     pc.printf("\nHello World!\n");
     
-    while (1) {
+    while (true) {
         wait(0.5);
         pc.printf("%d\n",i);
         i++;
--- a/mbed-KL25Z.lib	Thu Oct 11 12:46:54 2012 +0000
+++ b/mbed-KL25Z.lib	Tue Oct 23 09:35:31 2012 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/emilmont/code/mbed-KL25Z/#2fd6de8f897c
+http://mbed.org/users/emilmont/code/mbed-KL25Z/#73c5efe92a6c