Merge branch 'add-climate-card-y'
This commit is contained in:
commit
6f44a68ba3
12 changed files with 414 additions and 82 deletions
12
src/main.hpp
12
src/main.hpp
|
|
@ -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
|
||||
|
||||
// CT Configuration
|
||||
#define CT_FORCE_ENABLE false
|
||||
|
|
@ -55,5 +58,4 @@ void pm25inupdatedisplay(char* value);
|
|||
void tempoutupdatedisplay(char* value);
|
||||
void weatherupdatedisplay(char* value);
|
||||
void pmfanspeedupdatedisplay(char* value);
|
||||
void pmswitchupdatedisplay(char* value);
|
||||
float adcToCurrent(uint16_t adc_value);
|
||||
void pmswitchupdatedisplay(char* value);
|
||||
Loading…
Add table
Add a link
Reference in a new issue