---- add 20kg GapValue

This commit is contained in:
Yunhorn 2024-07-12 12:17:50 +08:00
parent 4a80ce22a1
commit 0f6525ad39
2 changed files with 4 additions and 1 deletions

View File

@ -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)
{