From 47f5e325aa2aa9619afaa13baa7727f077ead335 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Thu, 30 Nov 2023 19:50:54 +0700 Subject: [PATCH] move DHT22 pin def --- src/espmega_iot_core.cpp | 1 - src/user_code.hpp | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/espmega_iot_core.cpp b/src/espmega_iot_core.cpp index e8713c9..64a7450 100644 --- a/src/espmega_iot_core.cpp +++ b/src/espmega_iot_core.cpp @@ -78,7 +78,6 @@ Mode 0: Off, 1: Cool, 2: Fan Fan Speed 0: Auto, 1: High, 2: Mid, 3: Low */ #ifdef ENABLE_CLIMATE_MODULE -#define DHT22_PIN 32 uint8_t ac_mode = 0; uint8_t ac_fan_speed = 0; uint8_t ac_temperature = 25; diff --git a/src/user_code.hpp b/src/user_code.hpp index 0e04793..395a6e4 100644 --- a/src/user_code.hpp +++ b/src/user_code.hpp @@ -19,13 +19,14 @@ #define ENABLE_ANALOG_MODULE #define ENABLE_WEBUI -// Infrared Transciever +// IR Kit Configuration #define IR_RECIEVE_PIN 35 #define IR_SEND_PIN 17 #define MARK_EXCESS_MICROS 20 #define RAW_BUFFER_LENGTH 750 #define AC_MAX_TEMPERATURE 30 #define AC_MIN_TEMPERATURE 15 +#define DHT22_PIN 32 // External LCD Configuration #define ENABLE_EXTERNAL_LCD