upm  0.4.1
Sensor/Actuator repository for libmraa (v0.8.0)
Data Fields

C++ API for the 3-Wire Pulse Sensor. More...

Detailed Description

This is a library for a 3-wire pulse sensor sold by several manufacturers. Usually, you can identify the sensor based on the round breakout and the distinctive heart symbol.

pulsensor.jpg
Pulsensor *sensor = new Pulsensor(handler);
sensor->start_sampler();
while (!doWork) {
usleep (5);
}
sensor->stop_sampler();

callback data

Data Fields

int is_heart_beat
 

Field Documentation

int is_heart_beat

heartbeat check


The documentation for this struct was generated from the following file: