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 Switch Science

PulseSensor.h

Committer:
YoshinoTaro
Date:
12 months ago
Revision:
11:d32f4f43161d

File content as of revision 11:d32f4f43161d:

#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