Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API mbed nRF51822
Fork of BLE_iBeacon by
Revision 16:3a0aa30e3b12, committed 2014-05-22
- 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();
