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.
ADS.localCompsensation(code);
local_code - local code read from ADC
compensation codes