From fdee85090126648cf2a7b22a7483e37eec3b6a38 Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Thu, 24 May 2018 23:41:27 +0200 Subject: add more dbg prints Signed-off-by: Manuel Traut --- mqttweightwatcher.ino | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mqttweightwatcher.ino') 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"); } -- cgit v1.2.3