sNtcVolt = ChannelConversion_ntc()*3300/4096; Result_Ntc = (1000*sNtcVolt)/(3300- .sNtcVolt); temp=(float)((1/(log(Result_Ntc /10000.0)/3950.0 + 1/(25.0+273.15))-273.15)*10+0.5); // 10k