From 28c85f749c4e14da252d8756fde679a561a486ca Mon Sep 17 00:00:00 2001 From: Martin Bauer Date: Sat, 7 Aug 2021 11:30:59 +0200 Subject: [PATCH] scale debug output --- firmware/lib/scale/Scale.h | 1 + 1 file changed, 1 insertion(+) diff --git a/firmware/lib/scale/Scale.h b/firmware/lib/scale/Scale.h index 2578ecf..5ef5c6d 100644 --- a/firmware/lib/scale/Scale.h +++ b/firmware/lib/scale/Scale.h @@ -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