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>
14 lines
220 B
OpenEdge ABL
14 lines
220 B
OpenEdge ABL
// Include doxygen-generated documentation
|
|
%include "pyupm_doxy2swig.i"
|
|
%module pyupm_bh1750
|
|
%include "../upm.i"
|
|
%include "std_string.i"
|
|
|
|
%feature("autodoc", "3");
|
|
|
|
%{
|
|
#include "bh1750.hpp"
|
|
%}
|
|
%include "bh1750.hpp"
|
|
|