BLE Heart Rate Sample Program for HRM1017 which is using Nordic nRF51822 confirmed the connection of nRFToolbox on Android.
Dependencies: BLE_API mbed nRF51822 color_pixels
Fork of BLE_HTM_HRM1017 by
Diff: PulseSensor.h
- Revision:
- 11:d32f4f43161d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PulseSensor.h Sun Oct 16 14:25:59 2016 +0000 @@ -0,0 +1,18 @@ +#ifndef PULSE_SENSOR_H +#define PULSE_SENSOR_H + +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + +void initPulseSensor(void); +void calcHeartRate(void); +bool isQS(); +int getBPM(); + +#ifdef __cplusplus +} +#endif // __cplusplus + + +#endif //PULSE_SENSOR_H \ No newline at end of file