add york to display
This commit is contained in:
parent
90fb35aeb4
commit
c07fd62bba
10 changed files with 329 additions and 159 deletions
|
|
@ -2,7 +2,8 @@
|
|||
#include <ESPMegaProOS.hpp>
|
||||
SET_LOOP_TASK_STACK_SIZE(32*1024);
|
||||
#include <ise_display.hpp>
|
||||
#include <ir_codes.hpp>
|
||||
#include <ir_codes_daikin.hpp>
|
||||
#include <ir_codes_york.hpp>
|
||||
|
||||
|
||||
|
||||
|
|
@ -19,8 +20,10 @@ 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_RMT_CHANNEL RMT_CHANNEL_0
|
||||
#define AIR_CONDITIONER_DAIKIN_IR_PIN 5
|
||||
#define AIR_CONDITIONER_YORK_IR_PIN 8
|
||||
#define AIR_CONDITIONER_RMT_CHANNEL0 RMT_CHANNEL_0
|
||||
#define AIR_CONDITIONER_RMT_CHANNEL1 RMT_CHANNEL_1
|
||||
|
||||
void handleMqttMessage(char *topic, char *payload);
|
||||
void subscribeToMqttTopics();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue