Compare commits
No commits in common. "01d8f6aebc253cbc03122dbc7d865636da1b46e2" and "1ab243d1b0861e887d1eb12b8ffbd04ef3dbbee1" have entirely different histories.
01d8f6aebc
...
1ab243d1b0
|
@ -49,6 +49,12 @@ const int PWM_CYCLE_VALUES[PWM_CYCLE_VALUES_COUNT] = {50, 125, 255};
|
||||||
char PWM_SET_STATE_TOPIC[70];
|
char PWM_SET_STATE_TOPIC[70];
|
||||||
char PWM_SET_VALUE_TOPIC[70];
|
char PWM_SET_VALUE_TOPIC[70];
|
||||||
|
|
||||||
|
// Infrared Transciever
|
||||||
|
#define IR_RECIEVE_PIN 35
|
||||||
|
#define IR_SEND_PIN 12
|
||||||
|
#define MARK_EXCESS_MICROS 20
|
||||||
|
#define RAW_BUFFER_LENGTH 750
|
||||||
|
|
||||||
// LCD
|
// LCD
|
||||||
int lcd_current_page = 1;
|
int lcd_current_page = 1;
|
||||||
int lcd_pwmAdj_id = 0;
|
int lcd_pwmAdj_id = 0;
|
||||||
|
@ -63,6 +69,8 @@ Fan Speed 0: Auto, 1: High, 2: Mid, 3: Low
|
||||||
uint8_t ac_mode = 0;
|
uint8_t ac_mode = 0;
|
||||||
uint8_t ac_fan_speed = 0;
|
uint8_t ac_fan_speed = 0;
|
||||||
uint8_t ac_temperature = 25;
|
uint8_t ac_temperature = 25;
|
||||||
|
#define AC_MAX_TEMPERATURE 30
|
||||||
|
#define AC_MIN_TEMPERATURE 18
|
||||||
char AC_SET_MODE_TOPIC[75];
|
char AC_SET_MODE_TOPIC[75];
|
||||||
char AC_SET_FAN_TOPIC[75];
|
char AC_SET_FAN_TOPIC[75];
|
||||||
char AC_SET_TEMPERATURE_TOPIC[75];
|
char AC_SET_TEMPERATURE_TOPIC[75];
|
||||||
|
|
|
@ -1,13 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <ESPMegaPRO.h>
|
#include <ESPMegaPRO.h>
|
||||||
// Infrared Transciever
|
extern const uint16_t ir_code_cool[3][13][750] = {
|
||||||
#define IR_RECIEVE_PIN 35
|
|
||||||
#define IR_SEND_PIN 17
|
|
||||||
#define MARK_EXCESS_MICROS 20
|
|
||||||
#define RAW_BUFFER_LENGTH 750
|
|
||||||
#define AC_MAX_TEMPERATURE 30
|
|
||||||
#define AC_MIN_TEMPERATURE 15
|
|
||||||
extern const uint8_t ir_code_cool[3][16][750] = {
|
|
||||||
// Fan Speed High
|
// Fan Speed High
|
||||||
{
|
{
|
||||||
{179, 91, 10, 12, 11, 12, 10, 34, 11, 34, 11, 34, 10, 12, 11, 12, 11, 12, 11, 12, 11, 34, 10, 12, 11, 34, 11, 12, 11, 12, 10, 12, 11, 12, 11, 12, 11, 34, 10, 34, 11, 34, 11, 34, 11, 12, 10, 12, 11, 34, 11, 34, 11, 34, 11, 12, 10, 12, 11, 12, 11, 12, 10, 12, 11, 13, 10, 12, 11, 12, 11, 12, 10, 12, 11, 12, 11, 12, 10, 12, 11, 13, 10, 12, 11, 12, 11, 34, 10, 34, 11}, // 15C
|
{179, 91, 10, 12, 11, 12, 10, 34, 11, 34, 11, 34, 10, 12, 11, 12, 11, 12, 11, 12, 11, 34, 10, 12, 11, 34, 11, 12, 11, 12, 10, 12, 11, 12, 11, 12, 11, 34, 10, 34, 11, 34, 11, 34, 11, 12, 10, 12, 11, 34, 11, 34, 11, 34, 11, 12, 10, 12, 11, 12, 11, 12, 10, 12, 11, 13, 10, 12, 11, 12, 11, 12, 10, 12, 11, 12, 11, 12, 10, 12, 11, 13, 10, 12, 11, 12, 11, 34, 10, 34, 11}, // 15C
|
||||||
|
@ -61,9 +54,9 @@ extern const uint8_t ir_code_cool[3][16][750] = {
|
||||||
{0} // 30C
|
{0} // 30C
|
||||||
}};
|
}};
|
||||||
|
|
||||||
extern const uint8_t ir_code_fan[3][750] = {
|
extern const uint16_t ir_code_fan[3][750] = {
|
||||||
{0}, // LOW
|
{0}, // LOW
|
||||||
{0}, // MED
|
{0}, // MED
|
||||||
{0} // HIGH
|
{0} // HIGH
|
||||||
};
|
};
|
||||||
extern const uint8_t ir_code_off[750] = {0};
|
extern const uint16_t ir_code_off[750] = {0};
|
Loading…
Reference in New Issue