|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.misc.oneWire.oneWireDev
faa.misc.thermo.thermoDev
public class thermoDev
thermoDev represents a Dallas Semiconductor One-Wire Device such as the DS1820 thermometer. Source: thermoDev.java
faa.misc.thermo.oneWireDev| Field Summary | |
|---|---|
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
private float |
temperature
|
| Fields inherited from class faa.misc.oneWire.oneWireDev |
|---|
bus, DS1820, ROM_code, UNKNOWN |
| Constructor Summary | |
|---|---|
thermoDev(byte[] ROMcode,
oneWireBus bus)
Construct a thermometer device. |
|
| Method Summary | |
|---|---|
float |
getCelsius()
Get the temperature in degrees celsius. |
float |
getFarenheit()
Get the temperature in degrees farenheit. |
void |
measureTemp()
Measure the temperature. |
void |
measureTempHigh()
Measure the temperature with high resolution. |
void |
measureTempLow()
Measure the temperature with low resolution. |
| Methods inherited from class faa.misc.oneWire.oneWireDev |
|---|
getCRC, getDescription, getFamilyCode, getROMCode, getSerialNumber |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CVS_VERSION_ID
private float temperature
| Constructor Detail |
|---|
public thermoDev(byte[] ROMcode,
oneWireBus bus)
ROMcode - Unique 64 bit ROM code for this device.bus - The One wire bus to which this device is connected.| Method Detail |
|---|
public float getFarenheit()
public float getCelsius()
public void measureTemp()
public void measureTempHigh()
public void measureTempLow()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||