From e1776d92266c7c4de8f51b9339502311a20cfc02 Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Thu, 24 May 2018 23:41:15 +0200 Subject: scale: decrease stability time to avoid sw watchdog that occurs after reseting the board. Signed-off-by: Manuel Traut --- mqttweightwatcher.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"); -- cgit v1.2.3