From 75fb2e098e8747096a607dfd4e16b89d45b5f534 Mon Sep 17 00:00:00 2001 From: Denis Denisov Date: Tue, 23 Dec 2025 13:33:29 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D0=BC=D0=BD=D0=BE=D0=B3=D0=BE=20?= =?UTF-8?q?=D0=BB=D0=BE=D0=B3=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- thermo_sensor_v2.ino | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/thermo_sensor_v2.ino b/thermo_sensor_v2.ino index 2e4688b..e74deb0 100644 --- a/thermo_sensor_v2.ino +++ b/thermo_sensor_v2.ino @@ -77,8 +77,13 @@ void loop() unsigned long current = millis(); if (current < last_read || current - last_read >= READ_INTERVAL) { - UpdateDHTData(); - last_read = current; + UpdateDHTData(); + last_read = current; + Serial.print("cur_t = "); + Serial.print(cur_t); + Serial.print(" cur_h = "); + Serial.print(cur_hum); + Serial.println(); } mb.task(); mb.Hreg(REGISTER_CURRENT_TEMP, cur_t);