Modifier and Type | Method and Description |
---|---|
java.lang.String |
readSensor()
The readSensor
|
java.lang.String readSensor() throws OneWireIOException, OneWireException
OneWireIOException
- on a 1-Wire communication error such as
reading an incorrect CRC from a 1-Wire device. This could be
caused by a physical interruption in the 1-Wire Network due to
shorts or a newly arriving 1-Wire device issuing a 'presence pulse'.OneWireException
- on a communication or setup error with the 1-Wire
adapterCopyright © 1999-2012 Maxim Integrated Products. All Rights Reserved.