Update ir_codes.hpp

This commit is contained in:
Siwat Sirichai 2023-11-06 14:54:19 +07:00
parent 3ea8f6fbe4
commit 4c74d5a64e
1 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
#define RAW_BUFFER_LENGTH 750 #define RAW_BUFFER_LENGTH 750
#define AC_MAX_TEMPERATURE 30 #define AC_MAX_TEMPERATURE 30
#define AC_MIN_TEMPERATURE 15 #define AC_MIN_TEMPERATURE 15
extern const uint8_t ir_code_cool[4][16][91] = { extern const uint16_t ir_code_cool[4][16][91] = {
// Fan Speed Auto // Fan Speed Auto
{ {
{180, 90, 10, 12, 10, 12, 11, 34, 11, 12, 11, 34, 10, 12, 11, 12, 11, 12, 11, 12, 10, 35, 10, 12, 11, 12, 11, 12, 10, 12, 11, 12, 11, 12, 11, 12, 10, 35, 10, 34, 11, 34, 11, 34, 10, 13, 10, 12, 11, 12, 11, 12, 11, 34, 10, 12, 11, 12, 11, 12, 11, 12, 10, 12, 11, 12, 11, 12, 11, 12, 10, 12, 11, 12, 11, 12, 11, 12, 10, 12, 11, 12, 11, 34, 11, 34, 11, 34, 10, 12, 11}, // 15C {180, 90, 10, 12, 10, 12, 11, 34, 11, 12, 11, 34, 10, 12, 11, 12, 11, 12, 11, 12, 10, 35, 10, 12, 11, 12, 11, 12, 10, 12, 11, 12, 11, 12, 11, 12, 10, 35, 10, 34, 11, 34, 11, 34, 10, 13, 10, 12, 11, 12, 11, 12, 11, 34, 10, 12, 11, 12, 11, 12, 11, 12, 10, 12, 11, 12, 11, 12, 11, 12, 10, 12, 11, 12, 11, 12, 11, 12, 10, 12, 11, 12, 11, 34, 11, 34, 11, 34, 10, 12, 11}, // 15C
@ -86,10 +86,10 @@ extern const uint8_t ir_code_cool[4][16][91] = {
{180, 90, 10, 12, 11, 12, 11, 34, 10, 12, 11, 34, 11, 12, 10, 12, 11, 12, 11, 12, 11, 34, 11, 34, 10, 34, 12, 33, 11, 34, 11, 34, 11, 34, 11, 11, 12, 33, 11, 34, 11, 34, 11, 11, 12, 33, 11, 12, 10, 35, 11, 34, 11, 33, 12, 33, 11, 12, 11, 11, 12, 11, 11, 12, 11, 12, 11, 12, 11, 11, 12, 11, 11, 12, 11, 11, 12, 11, 11, 12, 11, 12, 11, 12, 11, 33, 12, 11, 11, 34, 11} // 30C {180, 90, 10, 12, 11, 12, 11, 34, 10, 12, 11, 34, 11, 12, 10, 12, 11, 12, 11, 12, 11, 34, 11, 34, 10, 34, 12, 33, 11, 34, 11, 34, 11, 34, 11, 11, 12, 33, 11, 34, 11, 34, 11, 11, 12, 33, 11, 12, 10, 35, 11, 34, 11, 33, 12, 33, 11, 12, 11, 11, 12, 11, 11, 12, 11, 12, 11, 12, 11, 11, 12, 11, 11, 12, 11, 11, 12, 11, 11, 12, 11, 12, 11, 12, 11, 33, 12, 11, 11, 34, 11} // 30C
}}; }};
extern const uint8_t ir_code_fan[4][91] = { extern const uint16_t ir_code_fan[4][91] = {
{179, 90, 10, 12, 11, 12, 11, 34, 10, 12, 11, 34, 11, 12, 10, 12, 11, 13, 10, 12, 11, 12, 11, 12, 10, 12, 11, 34, 11, 34, 10, 35, 10, 35, 10, 12, 11, 34, 11, 34, 10, 35, 10, 12, 11, 34, 11, 34, 10, 35, 11, 12, 10, 12, 11, 12, 11, 12, 10, 12, 11, 12, 11, 12, 10, 13, 10, 13, 10, 12, 11, 12, 11, 12, 10, 12, 11, 12, 11, 12, 10, 13, 11, 34, 10, 12, 11, 12, 11, 12, 10}, // AUTO {179, 90, 10, 12, 11, 12, 11, 34, 10, 12, 11, 34, 11, 12, 10, 12, 11, 13, 10, 12, 11, 12, 11, 12, 10, 12, 11, 34, 11, 34, 10, 35, 10, 35, 10, 12, 11, 34, 11, 34, 10, 35, 10, 12, 11, 34, 11, 34, 10, 35, 11, 12, 10, 12, 11, 12, 11, 12, 10, 12, 11, 12, 11, 12, 10, 13, 10, 13, 10, 12, 11, 12, 11, 12, 10, 12, 11, 12, 11, 12, 10, 13, 11, 34, 10, 12, 11, 12, 11, 12, 10}, // AUTO
{180, 90, 11, 11, 12, 10, 12, 33, 12, 11, 12, 33, 11, 11, 12, 11, 12, 11, 12, 11, 12, 10, 12, 11, 12, 33, 12, 33, 11, 33, 12, 33, 12, 33, 12, 11, 12, 33, 11, 33, 12, 33, 12, 11, 12, 33, 11, 33, 12, 33, 12, 11, 12, 11, 12, 10, 12, 11, 12, 11, 12, 11, 11, 11, 12, 11, 12, 11, 12, 11, 12, 11, 11, 11, 12, 11, 12, 11, 11, 11, 12, 11, 12, 11, 12, 33, 12, 33, 11, 33, 12}, // HIGH {180, 90, 11, 11, 12, 10, 12, 33, 12, 11, 12, 33, 11, 11, 12, 11, 12, 11, 12, 11, 12, 10, 12, 11, 12, 33, 12, 33, 11, 33, 12, 33, 12, 33, 12, 11, 12, 33, 11, 33, 12, 33, 12, 11, 12, 33, 11, 33, 12, 33, 12, 11, 12, 11, 12, 10, 12, 11, 12, 11, 12, 11, 11, 11, 12, 11, 12, 11, 12, 11, 12, 11, 11, 11, 12, 11, 12, 11, 11, 11, 12, 11, 12, 11, 12, 33, 12, 33, 11, 33, 12}, // HIGH
{180, 90, 11, 11, 12, 11, 11, 33, 12, 11, 12, 33, 12, 11, 11, 11, 12, 11, 12, 11, 12, 11, 11, 33, 12, 11, 12, 33, 12, 33, 11, 33, 12, 33, 12, 11, 12, 33, 12, 33, 11, 33, 12, 11, 12, 33, 12, 33, 11, 34, 11, 11, 12, 11, 12, 33, 12, 10, 12, 11, 12, 11, 12, 11, 11, 12, 11, 11, 12, 11, 12, 11, 12, 10, 12, 11, 12, 11, 12, 11, 11, 12, 11, 11, 12, 33, 12, 11, 12, 10, 12}, // MED {180, 90, 11, 11, 12, 11, 11, 33, 12, 11, 12, 33, 12, 11, 11, 11, 12, 11, 12, 11, 12, 11, 11, 33, 12, 11, 12, 33, 12, 33, 11, 33, 12, 33, 12, 11, 12, 33, 12, 33, 11, 33, 12, 11, 12, 33, 12, 33, 11, 34, 11, 11, 12, 11, 12, 33, 12, 10, 12, 11, 12, 11, 12, 11, 11, 12, 11, 11, 12, 11, 12, 11, 12, 10, 12, 11, 12, 11, 12, 11, 11, 12, 11, 11, 12, 33, 12, 11, 12, 10, 12}, // MED
{179, 90, 10, 13, 10, 12, 11, 34, 11, 12, 10, 34, 11, 12, 11, 12, 10, 13, 11, 12, 10, 12, 11, 34, 11, 34, 10, 35, 10, 34, 11, 34, 11, 34, 11, 12, 10, 34, 11, 34, 11, 34, 11, 12, 10, 34, 11, 34, 11, 34, 11, 12, 11, 12, 11, 11, 12, 11, 11, 12, 11, 11, 12, 11, 11, 12, 11, 12, 11, 12, 11, 11, 12, 11, 11, 12, 11, 11, 12, 11, 11, 12, 11, 12, 11, 34, 11, 11, 12, 33, 11} // LOW {179, 90, 10, 13, 10, 12, 11, 34, 11, 12, 10, 34, 11, 12, 11, 12, 10, 13, 11, 12, 10, 12, 11, 34, 11, 34, 10, 35, 10, 34, 11, 34, 11, 34, 11, 12, 10, 34, 11, 34, 11, 34, 11, 12, 10, 34, 11, 34, 11, 34, 11, 12, 11, 12, 11, 11, 12, 11, 11, 12, 11, 11, 12, 11, 11, 12, 11, 12, 11, 12, 11, 11, 12, 11, 11, 12, 11, 11, 12, 11, 11, 12, 11, 12, 11, 34, 11, 11, 12, 33, 11} // LOW
}; };
extern const uint8_t ir_code_off[91] = {180, 89, 12, 11, 11, 11, 12, 33, 12, 11, 12, 10, 12, 11, 12, 11, 12, 11, 12, 11, 11, 11, 12, 11, 12, 33, 12, 33, 11, 33, 12, 33, 12, 33, 12, 11, 12, 33, 11, 33, 12, 33, 12, 11, 11, 33, 12, 33, 12, 11, 12, 33, 12, 33, 11, 33, 12, 11, 12, 11, 12, 11, 11, 11, 12, 11, 12, 11, 12, 11, 11, 11, 12, 11, 12, 11, 12, 11, 11, 11, 12, 11, 12, 11, 12, 11, 12, 33, 11, 11, 12}; extern const uint16_t ir_code_off[91] = {180, 89, 12, 11, 11, 11, 12, 33, 12, 11, 12, 10, 12, 11, 12, 11, 12, 11, 12, 11, 11, 11, 12, 11, 12, 33, 12, 33, 11, 33, 12, 33, 12, 33, 12, 11, 12, 33, 11, 33, 12, 33, 12, 11, 11, 33, 12, 33, 12, 11, 12, 33, 12, 33, 11, 33, 12, 11, 12, 11, 12, 11, 11, 11, 12, 11, 12, 11, 12, 11, 11, 11, 12, 11, 12, 11, 12, 11, 11, 11, 12, 11, 12, 11, 12, 11, 12, 33, 11, 11, 12};