We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ed008a9 + 42a133f commit ee8b9feCopy full SHA for ee8b9fe
adafruit_ds18x20.py
@@ -155,3 +155,10 @@ def read_temperature(self) -> float:
155
"""Read the temperature. No polling of the conversion busy bit
156
(assumes that the conversion has completed)."""
157
return self._read_temp()
158
+
159
+ @property
160
+ def address(self):
161
+ """The address of the device. Useful if there are multiple sensors on the bus.
162
163
+ Note: this property is read only."""
164
+ return self._address
0 commit comments