Open mianqi2016 opened 2 years ago
For 1: A default arguments was defined as void tare(byte times = 10); in the header file. So even if you call scale.tare(); with no argument still valid. For 2: I believe the current comment is correct. Calling Tare sets the scale to Zero, but doesn't mean the OFFSET is set to Zero. The subtraction of the read value minus the OFFSET is what makes your get_value() or get_units() function give zero.
I tested the example "HX711_full_example", in line 49, it was:
scale.tare(); // reset the scale to 0
I found it was same in example on github, my question are: