Example program to work with serial console.

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
smigielski
Date:
Thu Nov 20 12:15:09 2014 +0000
Parent:
0:6e7311915b08
Commit message:
Some more comments

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Nov 20 12:02:08 2014 +0000
+++ b/main.cpp	Thu Nov 20 12:15:09 2014 +0000
@@ -13,7 +13,7 @@
  
 int main() {
     //Configure boud rate 
-    Serial s(USBTX, USBRX);
+    Serial s(USBTX, USBRX); //default for nrf51 is p0.09 p0.11
     s.baud(BAUD_RATE);
     
     while(1) {