ADS.readFarenheit()

Description

This function simplifies the process of gather temperature data from the ADS1118 BoosterPack. Here you can just call the function and it will return the value of the temperature recorded and convert it into Farenheit while accounting for both the local temperature and the termocouple.

Syntax

  • temp = ADS.readFarenheit();

Parameters

none

Returns

Temperature in Farenheit.

Example:

ADS1118 ADS;
void setup() {
    ADS.begin();
        Serial.begin(9600);
}
void loop() {
        Serial.print("Temp in F = " );
        Serial.println(ADS.readFarenheit());
}
Guide Home