diff --git a/Core/Src/sts_weight_scale.c b/Core/Src/sts_weight_scale.c index 1028d8a..8ffd183 100644 --- a/Core/Src/sts_weight_scale.c +++ b/Core/Src/sts_weight_scale.c @@ -60,7 +60,7 @@ uint8_t Flag_Error = 0; //如果测试出来的重量偏小时,减小改数值。 //该值可以为小数 //#define GapValue 106.5 -#define GapValue 909.5 // for 1kg bar +#define GapValue 903.2 // for 1kg bar void HX711_Init(void) { diff --git a/STM32CubeIDE/.cproject b/STM32CubeIDE/.cproject index 3e079da..f13463c 100644 --- a/STM32CubeIDE/.cproject +++ b/STM32CubeIDE/.cproject @@ -35,7 +35,7 @@