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
Revision 5:40fcfb34e48f, committed 2015-10-26
- Comitter:
- haydenball
- Date:
- Mon Oct 26 21:26:31 2015 +0000
- Parent:
- 4:851d3f52c344
- Child:
- 6:808cfc0b9480
- Commit message:
- Remove LED3 debugging
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Oct 24 21:05:58 2015 +0000
+++ b/main.cpp Mon Oct 26 21:26:31 2015 +0000
@@ -21,7 +21,6 @@
// Outputs
DigitalOut connectionLed(LED1);
DigitalOut led2(LED2);
-DigitalOut led3(LED3);
// Inputs
InterruptIn button(BUTTON1);
@@ -105,12 +104,10 @@
}
if (ble.getGapState().connected && sample) {
- led3 = 0;
sample = false;
ecgValue = (ecg.read() * 1024);
uberVestServicePtr->updateEcg(ecgValue);
} else {
- led3 = 1;
ble.waitForEvent();
}
}