Base project for FRDM K64F: - Blinking LED - USB Serial Port #aiot

Dependencies:   mbed

Fork of mbed_blinky by Mbed

Files at this revision

API Documentation at this revision

Comitter:
rlinnmoran
Date:
Tue Mar 24 13:16:16 2015 +0000
Parent:
6:e8cd76f38fa9
Commit message:
Initial Version

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri May 09 19:58:03 2014 +0300
+++ b/main.cpp	Tue Mar 24 13:16:16 2015 +0000
@@ -1,12 +1,19 @@
 #include "mbed.h"
 
 DigitalOut myled(LED1);
+Serial pc(USBTX, USBRX);
 
 int main() {
+    
+     pc.baud(9600);
+    
     while(1) {
         myled = 1;
         wait(0.2);
         myled = 0;
         wait(0.2);
+        
+        wait(0.1);
+        pc.printf("The quick brown fox jumps over the lazy dog. 1234567890.\r\n");
     }
 }
--- a/mbed.bld	Fri May 09 19:58:03 2014 +0300
+++ b/mbed.bld	Tue Mar 24 13:16:16 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/487b796308b0
\ No newline at end of file