#pragma once #include #include #include /*********************************************** * Begin Configuration * ************************************************/ // Display Configuration #define iseDisplayAdapter Serial2 #define ISE_DISPLAY_BAUD_RATE 115200 #define ISE_DISPLAY_TX_PIN 4 #define ISE_DISPLAY_RX_PIN 17 // Air Conditioner Configuration #define AIR_CONDITIONER_SENSOR_TYPE AC_SENSOR_TYPE_DHT22 #define AIR_CONDITIONER_SENSOR_PIN 32 #define AIR_CONDITIONER_IR_PIN 5 #define AIR_CONDITIONER_RMT_CHANNEL RMT_CHANNEL_0 void handleMqttMessage(char *topic, char *payload); void lockAC(); void unlockAC(); void sendStopBytes(); void sendExtStopBytes(); void setup(); void loop(); void on_pin_change(uint8_t pin, uint8_t value); uint16_t get_pm25_out();