summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Traut <manut@ford.mecka.net>2018-05-24 23:41:27 +0200
committerManuel Traut <manut@ford.mecka.net>2018-05-24 23:41:27 +0200
commitfdee85090126648cf2a7b22a7483e37eec3b6a38 (patch)
treebba801dfdada39ac26591e7b46ab207516d56161
parente1776d92266c7c4de8f51b9339502311a20cfc02 (diff)
add more dbg prints
Signed-off-by: Manuel Traut <manut@ford.mecka.net>
-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");
}