Public Member Functions | |
Thermal () | |
Creates an object for the device. | |
Thermal (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 temperature in degrees Celsius. |
Thermal | ( | 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 temperature in degrees Celsius.
. |