sht1x_defines.h¶
Internal defines required by the SHT10/SHT11/SHT15 driver.
-
SHT1X_NO_ACK
¶ don’t ack read in
read_byte
1
(1)
-
SHT1X_ACK
¶ do acknowledge read in
read_byte
1
(0)
-
SHT1X_STATUS_REG_W
¶ will write to status register
1
(0x06)
-
SHT1X_STATUS_REG_R
¶ will read from status register
1
(0x07)
-
SHT1X_MEASURE_TEMP
¶ tell sensor to measure temperature
1
(0x03)
-
SHT1X_MEASURE_HUM
¶ tell sensor to measure humidity
1
(0x05)
-
SHT1X_RESET
¶ reset the sensor
1
(0x1E)
-
SHT1X_HALF_CLOCK
¶ Half clock length in µsec.
1
(1)
-
SHT1X_MEASURE_TIMEOUT
¶ Timeout for the SHT1x to complete the measurement (in millisec)
1
(1000)
-
SHT1X_RESET_WAIT
¶ Wait 11ms after soft reset.
1
(11000)
-
SHT1X_CONF_MASK
¶ Bitmask to get writable bits of the status byte.
1
(0x07)
-
SHT1X_SAUL_RETRIES
¶ How often reading the sensor should be retried in case of communication failures.
1
(3)