1-Wire API for .NET Version 4.00
|
This class provides a default object for the Humidity type of a tagged 1-Wire device. More...
Inherits com::dalsemi::onewire::application::tag::TaggedDevice, and com::dalsemi::onewire::application::tag::TaggedSensor.
Public Member Functions | |
Humidity () | |
Creates an object for the device. | |
Humidity (DSPortAdapter adapter, String netAddress) | |
Creates an object for the device with the supplied address and device type connected to the supplied port adapter. | |
String | readSensor () throws OneWireException |
The readSensor method returns a relative humidity reading in RH. |
This class provides a default object for the Humidity type of a tagged 1-Wire device.
Humidity | ( | DSPortAdapter | adapter, |
String | netAddress | ||
) |
Creates an object for the device with the supplied address and device type connected to the supplied port adapter.
adapter | The adapter serving the sensor. |
netAddress | The 1-Wire network address of the sensor. |
String readSensor | ( | ) | throws OneWireException |
The readSensor method returns a relative humidity reading in RH.
. |