diff --git a/src/ir_codes.hpp b/src/ir_codes.hpp index cd9f402..a017397 100644 --- a/src/ir_codes.hpp +++ b/src/ir_codes.hpp @@ -7,7 +7,7 @@ #define RAW_BUFFER_LENGTH 750 #define AC_MAX_TEMPERATURE 30 #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 { {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 }}; -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 {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 {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}; \ No newline at end of file +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}; \ No newline at end of file