From 74799cf5edb5d2b53a5c5b137fe1153d317e0cdc Mon Sep 17 00:00:00 2001 From: YunHorn Technology Date: Fri, 12 Jul 2024 13:10:01 +0800 Subject: [PATCH] --- 5kg version 2024 0712 --- Core/Src/sts_weight_scale.c | 3 ++- ...n => STS_W1_WEIGHT_SCALE_5KG_20240712.bin} | Bin 255448 -> 255448 bytes 2 files changed, 2 insertions(+), 1 deletion(-) rename STM32CubeIDE/Release/{WL55JC_AS923.bin => STS_W1_WEIGHT_SCALE_5KG_20240712.bin} (99%) diff --git a/Core/Src/sts_weight_scale.c b/Core/Src/sts_weight_scale.c index 0a4905a..3703f7c 100644 --- a/Core/Src/sts_weight_scale.c +++ b/Core/Src/sts_weight_scale.c @@ -73,7 +73,8 @@ uint8_t Flag_Error = 0; //#define GapValue 903.2 // for 1kg bar //#define GapValue 106.5 // for 20kg bar //#define GapValue 101.5 // for 20kg bar -#define GapValue 99.08 // for 20kg bar +//#define GapValue 99.08 // for 20kg bar +#define GapValue 384.0 // for 5kg bar void HX711_Init(void) { diff --git a/STM32CubeIDE/Release/WL55JC_AS923.bin b/STM32CubeIDE/Release/STS_W1_WEIGHT_SCALE_5KG_20240712.bin similarity index 99% rename from STM32CubeIDE/Release/WL55JC_AS923.bin rename to STM32CubeIDE/Release/STS_W1_WEIGHT_SCALE_5KG_20240712.bin index 3a219876aca2160d6e16172f4fad03d0a32d548e..eb938d677797553463fac6db1eefb2a7a396bf00 100644 GIT binary patch delta 31 lcmca{n*YXW{tX2ZEDQ_>oSRD|+DjxDftYD~i3D@XSpdcP3sV39 delta 31 lcmca{n*YXW{tX2ZEZ;PaIW?C^w3kRQ0x{F}5((y%vjE+v40Zqj