Skip to content
Commit 3d70711c authored by Thomas Stranger's avatar Thomas Stranger Committed by Carles Cufí
Browse files

drivers: sensor: add support for ds18b20 1-wire temperatue sensor



This commit adds support for the ds18b20 1-wire temperature sensor.

The sampling resolution of the sensor can be set in DT.
In case only a single device is on the bus, the driver issues
skip_rom commands. However, in case DT defines several devices,
the driver will use match_rom commands and therefore it is necessary
to set the rom_id of the device via the sensor attribute interface before
being able to sample sensor values.

Signed-off-by: default avatarThomas Stranger <thomas.stranger@outlook.com>
parent 442b06d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment