java.lang.String readSensor() throws OneWireIOException, OneWireExceptionThe readSensor
- result of sensor reading
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 adapter