v2

Dependencies:   BLE_API mbed DOOR

Fork of DOOR by Aura-Tech Solutions

Files at this revision

API Documentation at this revision

Comitter:
Rohit Grover
Date:
Thu May 22 14:42:00 2014 +0100
Parent:
15:4e1b36b73213
Child:
17:e7748951593e
Commit message:
remove another reference of nRF51822 from main.cpp.
Tests should gradually be made independent of the underlying transport.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu May 22 13:09:17 2014 +0100
+++ b/main.cpp	Thu May 22 14:42:00 2014 +0100
@@ -17,12 +17,12 @@
 #include "mbed.h"
 #include "nRF51822n.h"
 
-nRF51822n   ble;                /* BLE radio driver */
+nRF51822n  ble;                /* BLE radio driver */
 
-DigitalOut  mainloopLED(LED1);
-DigitalOut  tickerLED(LED2);
-Ticker      flipper;
-Serial      pc(USBTX,USBRX);
+DigitalOut mainloopLED(LED1);
+DigitalOut tickerLED(LED2);
+Ticker     flipper;
+Serial     pc(USBTX,USBRX);
 
 /*
  * For this demo application, populate the beacon advertisement payload
@@ -57,8 +57,7 @@
 {
     setupAppHardware();
 
-    /* Initialise the nRF51822 */
-    pc.printf("Initialising the nRF51822\n\r");
+    pc.printf("Initialising BTLE transport\n\r");
     ble.init();
     ble.reset();