|
|
@ -313,7 +313,7 @@ void app_temp_sample() |
|
|
|
|
|
|
|
|
|
|
|
float y = s_analog.cal_a * sum + s_analog.cal_b; |
|
|
|
float y = s_analog.cal_a * sum + s_analog.cal_b; |
|
|
|
float actual_temp = val_to_c(y); |
|
|
|
float actual_temp = val_to_c(y); |
|
|
|
PRINTF("T raw %f -> comp %f, temp %f°C\r\n", sum, y, actual_temp); |
|
|
|
//PRINTF("T raw %f -> comp %f, temp %f°C\r\n", sum, y, actual_temp);
|
|
|
|
|
|
|
|
|
|
|
|
s_analog.oven_temp = actual_temp; |
|
|
|
s_analog.oven_temp = actual_temp; |
|
|
|
s_analog.oven_temp_raw = sum; |
|
|
|
s_analog.oven_temp_raw = sum; |
|
|
|