sht1x: Initial implementation
This driver was developed with a DFRobot SHT10 Temperature and Humidity sensor. This driver should work on all SHT1X devices. It requires a 10K pull-up resistor connected to the data pin. The sensor can be run at differing voltages from 2.5v to 5v. Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
8
src/sht1x/jsupm_sht1x.i
Normal file
8
src/sht1x/jsupm_sht1x.i
Normal file
@@ -0,0 +1,8 @@
|
||||
%module jsupm_sht1x
|
||||
%include "../upm.i"
|
||||
%include "std_string.i"
|
||||
|
||||
%include "sht1x.hpp"
|
||||
%{
|
||||
#include "sht1x.hpp"
|
||||
%}
|
||||
Reference in New Issue
Block a user