From dfb14c4e295db1b485afefd3d7d2a8bdd78a93dc Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Sun, 3 Jun 2018 18:13:11 +0200 Subject: reduce loadcell stabilization time code runs into sw wdog resets during setup Signed-off-by: Manuel Traut --- mqttweightwatcher.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mqttweightwatcher.ino b/mqttweightwatcher.ino index a495ed4..4e9cafb 100644 --- a/mqttweightwatcher.ino +++ b/mqttweightwatcher.ino @@ -71,7 +71,7 @@ void setup_mqtt() { void setup_loadcell() { Serial.println("Loadcell setup"); LoadCell.begin(); - long stabilisingtime = 1000; // tare preciscion can be improved by adding a few seconds of stabilising time + long stabilisingtime = 800; // tare preciscion can be improved by adding a few seconds of stabilising time Serial.println("Loadcell stabilize"); LoadCell.start(stabilisingtime); Serial.print("Loadcell set scale: "); -- cgit v1.2.3