File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1061,7 +1061,7 @@ void menuConfigure_NAU7802(void *configPtr)
10611061 sensor->getWeight (true , 10 ); // Flush
10621062 }
10631063
1064- sensor->calculateZeroOffset (sensorConfig->averageAmount ); // Zero or Tare the scale
1064+ sensor->calculateZeroOffset (sensorConfig->averageAmount ); // Zero or Tare the scale. With external calibration, this should be ~zero
10651065
10661066 sensorConfig->zeroOffset = sensor->getZeroOffset ();
10671067 }
@@ -1106,6 +1106,7 @@ void menuConfigure_NAU7802(void *configPtr)
11061106 }
11071107 else if (incoming == 6 )
11081108 {
1109+ // Limit number of readings to the sample rate so that the getWeight doesn't time out
11091110 SerialPrint (F (" Enter number of readings to take per weight read (>= 1, < Sample Rate): " ));
11101111 int rate;
11111112 switch (sensorConfig->sampleRate )
You can’t perform that action at this time.
0 commit comments