WS #1
|
@ -161,8 +161,8 @@ void Get_GrossWeight(void)
|
||||||
{
|
{
|
||||||
gross_weight = HX711_Read();
|
gross_weight = HX711_Read();
|
||||||
|
|
||||||
//gross_weight = KalmanFilter(gross_weight);
|
gross_weight = KalmanFilter(gross_weight);
|
||||||
//APP_LOG(TS_OFF, VLEVEL_M, "\r\n ##### Gross Weight =%d <<<<<< \r\n",gross_weight);
|
APP_LOG(TS_OFF, VLEVEL_M, "\r\n ##### Gross Weight =%d <<<<<< \r\n",gross_weight);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -184,7 +184,7 @@ void Get_NetWeight(void)
|
||||||
//当发现测试出来的重量偏大时,增加该数值。
|
//当发现测试出来的重量偏大时,增加该数值。
|
||||||
|
|
||||||
net_weight = KalmanFilter(net_weight);
|
net_weight = KalmanFilter(net_weight);
|
||||||
//APP_LOG(TS_OFF, VLEVEL_M, "\r\n ##### Net Weight =%d \r\n", net_weight);//如果测试出来的重量偏小时,减小改数值。
|
APP_LOG(TS_OFF, VLEVEL_M, "\r\n ##### Net Weight =%d \r\n", net_weight);//如果测试出来的重量偏小时,减小改数值。
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue