Package | Description |
---|---|
wxservice.sensor.task |
Sensor tasks collect data from devices on the 1-Wire MicroLan and post it to
the sensor data objects via
IDataExchange . |
Modifier and Type | Method and Description |
---|---|
private void |
Barometer.ReadTask.calibrate()
Reads the internal calibration constants from the MS5534A.
|
private int |
Barometer.ReadTask.doADConvert(boolean[] command)
Writes the MS5534A convert command sequence; reads the result.
|
private double |
Barometer.ReadTask.getPressure()
Calculates the current atmospheric pressure.
|
private int |
Barometer.ReadTask.readCalibration(boolean[] command)
Reads a single calibration value from the MS5534A.
|
private int |
Barometer.ReadTask.readWord()
Clocks 16 data bits from the MS5534A serial data output.
|
private void |
Barometer.ReadTask.resetMS5534A()
Sends the reset command to the MS5534A.
|
private void |
Barometer.ReadTask.waitForADConvertComplete(long timeout)
Reads the device to provide one additional clock pulse following the
write convert command, to initiate the conversion.
|
private void |
Barometer.ReadTask.writeCommand(boolean[] command)
Clocks command data bit sequence into the MS5534A serial data input.
|