42 { std::cout <<
"Base sample IR: " << samp.IR <<
" R: " << samp.R << std::endl; }
129 void sample_continuous(
int gpio_pin,
bool buffered,
Callback *cb = NULL);
142 uint8_t read(MAX30100_REG reg);
150 void write(MAX30100_REG reg, uint8_t wr_data);
180 void mode(MAX30100_MODE mode);
188 MAX30100_MODE mode();
197 void high_res_enable(
bool enable);
205 bool high_res_enable();
213 void sample_rate(MAX30100_SR sample_rate);
221 MAX30100_SR sample_rate();
229 void pulse_width(MAX30100_LED_PW pulse_width);
237 MAX30100_LED_PW pulse_width();
246 void current(MAX30100_LED_CURRENT ir, MAX30100_LED_CURRENT r);
253 MAX30100_LED_CURRENT current_ir();
260 MAX30100_LED_CURRENT current_r();
284 void sleep(
bool sleep);
virtual ~MAX30100()
Definition: max30100.hpp:92
Definition: max30100.h:51
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
Definition: max30100_regs.h:36
API for the Pulse oximeter and heart-rate sensor.
Definition: max30100.hpp:76
C API for the Pulse oximeter and heart-rate sensor.
Definition: max30100.hpp:35