diff options
| author | Manuel Traut <manut@ford.mecka.net> | 2018-05-24 23:41:15 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@ford.mecka.net> | 2018-05-24 23:41:15 +0200 |
| commit | e1776d92266c7c4de8f51b9339502311a20cfc02 (patch) | |
| tree | c809be61a5a95657b1ad94e2a4e91875af9662b5 | |
| parent | edf02979ec495207326d5a4facbcfa8661bcd5c2 (diff) | |
scale: decrease stability time
to avoid sw watchdog that occurs after reseting the board.
Signed-off-by: Manuel Traut <manut@ford.mecka.net>
| -rw-r--r-- | mqttweightwatcher.ino | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mqttweightwatcher.ino b/mqttweightwatcher.ino index 057e798..e8e0e91 100644 --- a/mqttweightwatcher.ino +++ b/mqttweightwatcher.ino @@ -73,7 +73,8 @@ void setup() { connect(); LoadCell.begin(); - long stabilisingtime = 2000; // tare preciscion can be improved by adding a few seconds of stabilising time + long stabilisingtime = 1000; // tare preciscion can be improved by adding a few seconds of stabilising time + Serial.println("load cell start\n"); LoadCell.start(stabilisingtime); LoadCell.setCalFactor(68906.0); // user set calibration factor (float) Serial.println("Startup + tare is complete"); |
