用热敏电阻测温度STM32
adcx=Get_Adc_Average(ADC_Channel_3,20);//»ñȡͨµÀ5µÄת»»Öµ£¬20´Îȡƽ¾ù adcx_f=adcx*(3.3/4096);//adc²É¼¯µ½µçѹֵ r_f=(3.3-adcx_f)/(adcx_f/10000);//µç×èÖµ temp_f = (1/(log(r_f/Rp)/Bx+(1/T...