Rohm BH1726 ALS sensor driver.
Dependents: rohm-bh1726-hello rohm-tileshield-6sensor-demo
Fork of rohm-bh1745 by
Diff: source/bh1726_driver.cpp
- Revision:
- 3:6eb91c7c6560
- Parent:
- 2:40307a303153
--- 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(){

Rohm BH1726NUC | Ambient Light Sensor