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 3a21987..eb938d6 100644 Binary files a/STM32CubeIDE/Release/WL55JC_AS923.bin and b/STM32CubeIDE/Release/STS_W1_WEIGHT_SCALE_5KG_20240712.bin differ