upm  0.5.1
Sensor/Actuator repository for libmraa (v0.9.1)
 All Data Structures Files Functions Variables Enumerations Enumerator Macros Groups Pages
Public Member Functions
Pulsensor Class Reference

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();

Public Member Functions

 Pulsensor (callback_handler handler)
 
void start_sampler ()
 
void stop_sampler ()
 

The documentation for this class was generated from the following files: