上传者: u011090480
|
上传时间: 2022-06-11 00:49:47
|
文件大小: 13KB
|
文件类型: C
PT100温度查表程序,根据温度值查询PT100温度,范围-200~810摄氏度。
//℃ 0 1 2 3 4 5 6 7 8 9
/* 0 ~ 10 */ 100.00, 100.39, 100.78, 101.17, 101.56, 101.95, 102.34, 102.73, 103.12, 103.51,
/* 10 ~ 20 */ 103.90, 104.29, 104.68, 105.07, 105.46, 105.85, 106.24, 106.63, 107.02, 107.40,
/* 20 ~ 30 */ 107.79, 108.18, 108.75, 108.96, 109.35, 109.73, 110.12, 110.51, 110.90, 111.28,
/* 30 ~ 40 */ 111.67, 112.06, 112.45, 112.83, 113.22, 113.61, 113.99, 114.38, 114.77, 115.15,
INT8U Get_PT100_Tempreture(float Rpt, ///< PT100的阻值
float *temp_val) ///< PT100对应的温度