32 #include <mraa/pwm.hpp> 33 #include <mraa/aio.hpp> 34 #include <mraa/gpio.hpp> 50 #if defined(SWIGJAVA) || defined(JAVACALLBACK) 51 #include "Callback.hpp" 53 typedef void (* callback_handler) (
clbk_data);
83 #if defined(SWIGJAVA) || defined(JAVACALLBACK) 92 static void *do_sample(
void *arg);
93 pthread_t sample_thread;
94 uint32_t sample_counter;
95 uint32_t last_beat_time;
109 #if defined(SWIGJAVA) || defined(JAVACALLBACK) 112 callback_handler callback;
114 volatile uint16_t ctx_counter;
Definition: pulsensor.hpp:46
C++ API for the 3-Wire Pulse Sensor.
Definition: pulsensor.hpp:80
int is_heart_beat
Definition: pulsensor.hpp:47
Definition: max30100.hpp:35