Optical pulse wave sensor BH1790GLC driver. The original code contributed by Hideki Tanaka.
Dependents: rohm-bh1790glc-hello rohm-SensorShield-example ECE568_Project2_Final
Fork of BH1790GLC by
BH1790GLC Class Reference
#include <bh1790glc.h>
Public Member Functions | |
BH1790GLC (RegisterWriter &i2c_obj, uint8_t sad=BH1790GLC_DEFAULT_SLAVE_ADDRESS, uint8_t wai=BH1790GLC_PART_ID_WIA_ID) | |
Create a BH1790GLC instance connected to specified I2C object with specified address. | |
~BH1790GLC () | |
Destructor of BH1790GLC. |
Detailed Description
BH1790GLC class.
BH1790GLC: an I2C bus optical sensor for heart rate monitor library
BH1790GLC is optical sensor for heart rate monitor IC in which LED driver and green light detection photo-diode are incorporated. This device drives LED and provides the intensity of light reflected from body.
For more information about BH1790GLC: http://www.rohm.com/web/global/datasheet/BH1790GLC/bh1790glc-e
http://rohmfs.rohm.com/en/products/databook/applinote/ic/sensor/optical_sensor_for_heart_rate_monitor/bh1790glc-evk-001-manual-e.pdf http://rohmfs.rohm.com/en/products/databook/applinote/ic/sensor/optical_sensor_for_heart_rate_monitor/bh1790glc-software-manual-e.pdf
This was ported from Arduino library by H.Tanaka and rewritten to match other Rohm mbed drivers by M.Koivunen.
Definition at line 55 of file bh1790glc.h.
Constructor & Destructor Documentation
BH1790GLC | ( | RegisterWriter & | i2c_obj, |
uint8_t | sad = BH1790GLC_DEFAULT_SLAVE_ADDRESS , |
||
uint8_t | wai = BH1790GLC_PART_ID_WIA_ID |
||
) |
Create a BH1790GLC instance connected to specified I2C object with specified address.
- Parameters:
-
i2c_obj RegisterWriter object (instance) sad I2C-bus address wai Who Am I -value
Definition at line 32 of file bh1790glc.cpp.
~BH1790GLC | ( | ) |
Destructor of BH1790GLC.
Definition at line 38 of file bh1790glc.cpp.
Generated on Thu Jul 14 2022 01:02:01 by 1.7.2