upm  1.5.0
Sensor/Actuator repository for libmraa (v1.8.0)
Public Member Functions

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(handler);
sensor.start_sampler();
while (!doWork) {
upm_delay_us(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: