summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mqttweightwatcher.ino4
1 files changed, 4 insertions, 0 deletions
diff --git a/mqttweightwatcher.ino b/mqttweightwatcher.ino
index e8e0e91..ecd9ccc 100644
--- a/mqttweightwatcher.ino
+++ b/mqttweightwatcher.ino
@@ -40,6 +40,8 @@ void connect() {
Serial.println("\nconnected!");
client.subscribe("/huhu");
+
+ Serial.println("\nsubscribed\n!");
// client.unsubscribe("/hello");
}
@@ -72,10 +74,12 @@ void setup() {
connect();
+ Serial.println("load cell begin\n");
LoadCell.begin();
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);
+ Serial.println("load cell scale\n");
LoadCell.setCalFactor(68906.0); // user set calibration factor (float)
Serial.println("Startup + tare is complete");
}