Heart Rate Monitor example for the BLE API using nRF51822 native mode drivers
Dependencies: BLE_API mbed nRF51822
Fork of BLE_HeartRate by
Diff: main.cpp
- Revision:
- 72:fa6520343b72
- Parent:
- 71:ecf479422c04
- Child:
- 73:82447ab9efd8
--- a/main.cpp Mon Aug 31 05:11:16 2015 +0000 +++ b/main.cpp Mon Aug 31 05:47:55 2015 +0000 @@ -62,6 +62,11 @@ PulseSensor sensor(P0_5, sendDataToProcessing); sensor.start(); + + while (1){ + ble.waitForEvent(); + } + // infinite loop /*