SunSPOT API V2.0


com.sun.spot.sensorboard.io
Interface ITemperatureInput

All Superinterfaces:
IScalarInput
All Known Implementing Classes:
ADT7411InternalTemperatureInput

public interface ITemperatureInput
extends IScalarInput


Method Summary
 double getCelsius()
           
 double getFahrenheit()
           
 
Methods inherited from interface com.sun.spot.sensorboard.io.IScalarInput
getRange, getValue
 

Method Detail

getCelsius

double getCelsius()
                  throws IOException
Returns:
the current temperature as degrees celsius
Throws:
IOException

getFahrenheit

double getFahrenheit()
                     throws IOException
Returns:
the current temperature as degrees fahrenheit
Throws:
IOException

SunSPOT API V2.0


Copyright © 2007 Sun Microsystems, Inc. All Rights Reserved.