From 0f6525ad39aabbf7213d5ef8c27c6a769567b51c Mon Sep 17 00:00:00 2001 From: YunHorn Technology Date: Fri, 12 Jul 2024 12:17:50 +0800 Subject: [PATCH] ---- add 20kg GapValue --- Core/Src/sts_weight_scale.c | 5 ++++- STM32CubeIDE/Release/WL55JC_AS923.bin | Bin 255448 -> 255448 bytes 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Core/Src/sts_weight_scale.c b/Core/Src/sts_weight_scale.c index a23d155..d5b768a 100644 --- a/Core/Src/sts_weight_scale.c +++ b/Core/Src/sts_weight_scale.c @@ -70,7 +70,10 @@ uint8_t Flag_Error = 0; //如果测试出来的重量偏小时,减小改数值。 //该值可以为小数 //#define GapValue 106.5 -#define GapValue 903.2 // for 1kg bar +//#define GapValue 903.2 // for 1kg bar +//#define GapValue 106.5 // for 20kg bar +//#define GapValue 101.5 // for 20kg bar +#define GapValue 99.0 // for 20kg bar void HX711_Init(void) { diff --git a/STM32CubeIDE/Release/WL55JC_AS923.bin b/STM32CubeIDE/Release/WL55JC_AS923.bin index e015525c7c4fdd0ab045d6a56bec7e4ce653a93d..4008d9244210ac41c8b0788f30093cf30768dc59 100644 GIT binary patch delta 34 mcmca{n*YXW{tXhc>