You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
522 B
28 lines
522 B
/* |
|
* Copyright (c) 2022, Thomas Stranger |
|
* |
|
* SPDX-License-Identifier: Apache-2.0 |
|
*/ |
|
|
|
/* |
|
* Example configuration of a DS18B20 device on an Arduino serial bus. |
|
* Requires external circuit to provide an open-drain interface. |
|
*/ |
|
|
|
&arduino_serial { |
|
status = "okay"; |
|
|
|
w1_0: w1-zephyr-serial-0 { |
|
compatible = "zephyr,w1-serial"; |
|
#address-cells = <1>; |
|
#size-cells = <0>; |
|
status = "okay"; |
|
|
|
ds18b20 { |
|
compatible = "maxim,ds18b20"; |
|
family-code = <0x28>; |
|
resolution = <12>; |
|
status = "okay"; |
|
}; |
|
}; |
|
};
|
|
|