upm  1.7.1
Sensor/Actuator repository for libmraa (v2.0.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.

class mycb : public virtual Callback
virtual void run(clbk_data arg)
printf("callback data (%d)\n", arg.is_heart_beat);
main(int argc, char** argv)
mycb cb;

Public Member Functions

 Pulsensor (Callback *callback)
void start_sampler ()
void stop_sampler ()

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