From 82402f024a17fcf59d8cbd694fb2d27e77215832 Mon Sep 17 00:00:00 2001 From: Amritanshu Date: Tue, 14 May 2024 06:26:53 +0530 Subject: [PATCH] Added the new s2-bgy sensor on pind D5 --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index dd66c54..9210b1c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -12,12 +12,12 @@ const uint32_t connectTimeoutMs = 5000; // MQTT settings const char* mqttServer = "iot.tanshu.com"; const int mqttPort = 1883; -const char* mqttClientId = "s3-roy"; +const char* mqttClientId = "s2-bgy"; const char* mqttUser = "esp8266"; const char* mqttPassword = "esp8266"; // DHT sensor pin -const int dhtPin = D4; +const int dhtPin = D5; // Initialize the DHT sensor DHT dht(dhtPin, DHT22);