From bd335480b9f83befd492dd4e5fd3e403e90b9135 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Sat, 30 Sep 2023 09:39:36 +0700 Subject: [PATCH] Update user_code.hpp --- src/user_code.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/user_code.hpp b/src/user_code.hpp index 4c81694..3a234a0 100644 --- a/src/user_code.hpp +++ b/src/user_code.hpp @@ -1,6 +1,8 @@ #pragma once #include #include +#include +#include #include "espmega_iot_timer.hpp" // External LCD Configuration @@ -36,4 +38,6 @@ extern void ac_set_state(int mode, int temperature, int fan_speed); extern uint8_t ac_get_temperature(); extern uint8_t ac_get_mode(); extern uint8_t ac_get_fan_speed(); -extern bool standalone; \ No newline at end of file +extern bool standalone; +extern PubSubClient mqtt_client; +extern PubSubClientTools mqtt; \ No newline at end of file