sht3x v0.1.0 SHT3x View Source
I2C driver for the SHT3x-DIS Humidity and Temperature Sensor from Sensirion.
Usage
{:ok, i2c_pid} = ElixirALE.I2C.start_link(“i2c-1”, 0x44) [{:ok, temp}, {:ok, humidity}] = SHT3x.single_shot_result(i2c_pid, :high, true)
Link to this section Summary
Types
Measurements per second. One in 0.5 | 1 | 2 | 4 | 10
16bit temperature and humidity values along with respective 8 bit CRC values
Measurement repeatability: high, medium or low
Ordered list of results: temperature, humidity
Ordered list of results: [temperature, humidity]
16bit status plus 8 bit CRC
Link to this section Types
Measurements per second. One in 0.5 | 1 | 2 | 4 | 10.
16bit temperature and humidity values along with respective 8 bit CRC values.
Measurement repeatability: high, medium or low.
Ordered list of results: temperature, humidity.
Ordered list of results: [temperature, humidity].
16bit status plus 8 bit CRC.
Link to this section Functions
fetch_data_result(pid()) :: result_list()
periodic(pid(), repeatability(), mps()) :: :ok | :error
single_shot(pid(), repeatability(), boolean()) :: reading()
single_shot_result(pid(), repeatability(), boolean()) :: result_list()