ct code, idk if it works or not.

This commit is contained in:
Siwat Sirichai 2024-02-26 23:24:57 +07:00
parent 7279ae0a62
commit 7e3b0b992a
3 changed files with 41 additions and 2 deletions

View file

@ -19,7 +19,7 @@ SET_LOOP_TASK_STACK_SIZE(32*1024);
// 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_IR_PIN
#define AIR_CONDITIONER_RMT_CHANNEL RMT_CHANNEL_0
void handleMqttMessage(char *topic, char *payload);
@ -45,4 +45,5 @@ void pm25inupdatedisplay(char* value);
void tempoutupdatedisplay(char* value);
void weatherupdatedisplay(char* value);
void pmfanspeedupdatedisplay(char* value);
void pmswitchupdatedisplay(char* value);
void pmswitchupdatedisplay(char* value);
float adc2current(uint16_t adc_value);