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:
13
src/bh1750/pyupm_bh1750.i
Normal file
13
src/bh1750/pyupm_bh1750.i
Normal file
@@ -0,0 +1,13 @@
|
||||
// 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"
|
||||
|
||||
Reference in New Issue
Block a user