View Source Ds18b201w (ds18b20_1w v0.1.1)
Documentation for Ds18b201w.
Link to this section Summary
Functions
Lists all connected ds18b201w sensors
Reads all connected ds18b201w sensors
Reads and returns sensor file data along with sensor id
Link to this section Functions
Lists all connected ds18b201w sensors
Reads all connected ds18b201w sensors
Reads and returns sensor file data along with sensor id
Example:
iex> Ds18b201w.read_temperature_file("/sys/bus/w1/devices/28-01203d2f1e12")
{:ok, 28-01203d2f1e12, "01 00 4b 46 7f ff 0c 10 8b : crc=8b YES 01 00 4b 46 1f ff 0c 10 8b t=62 "}