根据公式计算温度

    技术2022-07-10  158

        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  

    Processed: 0.019, SQL: 9