bh1750: Initial implementation

This driver was developed with the DFRobot Light Sensor based on the
BH1750.  It has a sensitivity of .5 to 65535 Lux.  It supports
voltages from 3-5vdc and is connected via I2C.

Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
Jon Trulson
2016-08-24 15:53:46 -06:00
committed by Noel Eck
parent d1aa4b62f2
commit 196654e7c6
17 changed files with 1173 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
upm_mixed_module_init (NAME bh1750
DESCRIPTION "upm dfrobot BH1750 I2C Digital Light Sensor"
C_HDR bh1750.h
C_SRC bh1750.c
CPP_HDR bh1750.hpp
CPP_SRC bh1750.cxx
FTI_SRC bh1750_fti.c
CPP_WRAPS_C
REQUIRES upmc-utilities mraa)