Rohm BH1726 ALS sensor driver.
Dependents: rohm-bh1726-hello rohm-tileshield-6sensor-demo
Fork of rohm-bh1745 by
Revision 3:6eb91c7c6560, committed 2016-09-19
- Comitter:
- MikkoZ
- Date:
- Mon Sep 19 12:24:27 2016 +0000
- Parent:
- 2:40307a303153
- Commit message:
- Updated SAD to work with other sensor tiles on Rohm Tile-shield.
Changed in this revision
source/bh1726_driver.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 40307a303153 -r 6eb91c7c6560 source/bh1726_driver.cpp --- a/source/bh1726_driver.cpp Wed Sep 14 07:14:36 2016 +0000 +++ b/source/bh1726_driver.cpp Mon Sep 19 12:24:27 2016 +0000 @@ -18,8 +18,8 @@ #include "../rohm-bh1726/bh1726.h" //bh1726_* register definitions #include "../rohm-bh1726/bh1726_driver.h" //Choose SAD according to setup -//#define SAD 0x29 -#define SAD 0x39 +#define SAD 0x29 +//#define SAD 0x39 /* bh1726 driver*/ uint8_t bh1726_readId(){