scale debug output
This commit is contained in:
parent
a45f49804c
commit
28c85f749c
|
@ -8,6 +8,7 @@ public:
|
|||
bool measure(uint16_t &measurementOut)
|
||||
{
|
||||
long value = hx711_.read_average(CONFIG_MEASUREMENT_AVG_COUNT) - offset_;
|
||||
Serial.println(value);
|
||||
if (value < 0)
|
||||
measurementOut = (int16_t)(-(value >> valueRightShift_ ));
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue