ADS.localCompensation(int local_code)

Description

This function transforms internal temperature sensor code to compensation code, which is added to the thermocouple code. Local\_code is the first 14 bits of the 16 bits data register. The compensation range of local temperature is 0 to 125 degrees Celsius.

Syntax

  • ADS.localCompsensation(code);

Parameters

local_code - local code read from ADC

Returns

compensation codes

Guide Home