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
Revision 2:4446bf1de21b, committed 2017-06-19
- Comitter:
- MikkoZ
- Date:
- Mon Jun 19 20:13:11 2017 +0000
- Parent:
- 1:32bb2624bed8
- Commit message:
- Cleaned register definitions.
Changed in this revision
bh1790glc.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 32bb2624bed8 -r 4446bf1de21b bh1790glc.h --- a/bh1790glc.h Fri Jun 16 11:56:37 2017 +0000 +++ b/bh1790glc.h Mon Jun 19 20:13:11 2017 +0000 @@ -30,9 +30,7 @@ #include "bh1790glc_registers.h" #define BH1790GLC_DEFAULT_SLAVE_ADDRESS (0x5B) - -#define BH1790GLC_DEVICE_ADDRESS (BH1790GLC_DEFAULT_SLAVE_ADDRESS<<1) -#define BH1790GLC_MID_VAL (0xE0) +#define BH1790GLC_MID_VAL (0xE0) #include "mbed.h"