PH test
Fork of LinearAnalogSensors by
Diff: LinearTemp.h
- Revision:
- 1:7ce89c2ecf05
- Parent:
- 0:d84ef842074b
- Child:
- 2:989048937c77
--- a/LinearTemp.h Sun Dec 23 07:19:15 2012 +0000 +++ b/LinearTemp.h Sun Dec 23 07:29:42 2012 +0000 @@ -61,6 +61,9 @@ * @param offset Conversion offset (positive or negative) */ LinearTemp(PinName pin, float multiplier, float offset); + /** Returns a new median-filtered, converted reading from the sensor + * @returns New temperature (float) in degrees C or F as designated by the calibration points + */ float readTemp(); /** Return the last calculated and stored temperature * @returns Last stored temperature (float) in degrees C or F as designated by the calibration points