Example program to work with serial console.
Dependencies: mbed
Revision 1:3facaa34f110, committed 2014-11-20
- 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) {