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:
Jon Trulson
2016-09-16 16:50:09 -06:00
parent 5d4fc3cbf5
commit 239ab49d6b
19 changed files with 1482 additions and 0 deletions

9
src/sht1x/CMakeLists.txt Normal file
View File

@@ -0,0 +1,9 @@
upm_mixed_module_init (NAME sht1x
DESCRIPTION "UPM driver for the SHT1X temperature/humidity sensor"
C_HDR sht1x.h
C_SRC sht1x.c
CPP_HDR sht1x.hpp
CPP_SRC sht1x.cxx
FTI_SRC sht1x_fti.c
CPP_WRAPS_C
REQUIRES mraa)