versionEPUDEE
Dependencies: BLE_API X_NUCLEO_IDB0XA1_EPUDEE mbed
Fork of BLE_HeartRate_IDB0XA1 by
Diff: main.cpp
- Revision:
- 22:a40e1a42c35a
- Parent:
- 21:0e7c08f5386f
--- a/main.cpp Wed Oct 05 09:16:58 2016 +0000 +++ b/main.cpp Thu Apr 19 12:10:05 2018 +0000 @@ -18,7 +18,7 @@ #include "ble/BLE.h" #include "ble/services/HeartRateService.h" -DigitalOut led1(LED1, 1); +//DigitalOut led1(LED1, 1); const static char DEVICE_NAME[] = "HRM1"; static const uint16_t uuid16_list[] = {GattService::UUID_HEART_RATE_SERVICE}; @@ -33,7 +33,7 @@ void periodicCallback(void) { - led1 = !led1; /* Do blinky on LED1 while we're waiting for BLE events */ + // led1 = !led1; /* Do blinky on LED1 while we're waiting for BLE events */ /* Note that the periodicCallback() executes in interrupt context, so it is safer to do * heavy-weight sensor polling from the main thread. */ triggerSensorPolling = true;