Go to the documentation of this file.
42 #define LG_ADDRESS 0x88
49 #define LG_SWITCH_ON_MASK 0x0800 // This bit is masked if we switch Power on
50 #define LG_MODE_COOLING 0x0800 // Temperature and fan speed in lower nibbles
51 #define LG_MODE_DEHUMIDIFIYING 0x0990 // sets also temperature to 24 and fan speed to 0
52 #define LG_MODE_FAN 0x0A30 // sets also temperature to 18
53 #define LG_MODE_AUTO 0x0B00 // The remote initially sets also temperature to 22 and fan speed to 4
54 #define LG_MODE_HEATING 0x0C00 // Temperature and fan speed in lower nibbles
55 #define LG_ENERGY_SAVING_ON 0x1004
56 #define LG_ENERGY_SAVING_OFF 0x1005
57 #define LG_JET_ON 0x1008
58 #define LG_WALL_SWING_ON 0x1314
59 #define LG_WALL_SWING_OFF 0x1315
60 #define LG_SWING_ON 0x1316 // not verified, for AKB73757604
61 #define LG_SWING_OFF 0x1317 // not verified, for AKB73757604
62 #define LG_TIMER_ON 0x8000 // relative minutes in lower nibbles
63 #define LG_TIMER_OFF 0x9000 // relative minutes in lower nibbles
64 #define LG_SLEEP 0xA000 // relative minutes in lower nibbles
65 #define LG_CLEAR_ALL 0xB000 // Timers and sleep
66 #define LG_POWER_DOWN 0xC005
67 #define LG_LIGHT 0xC00A
68 #define LG_AUTO_CLEAN_ON 0xC00B
69 #define LG_AUTO_CLEAN_OFF 0xC00C
74 #define LG_COMMAND_OFF '0'
75 #define LG_COMMAND_ON '1'
76 #define LG_COMMAND_SWING 's'
77 #define LG_COMMAND_AUTO_CLEAN 'a'
78 #define LG_COMMAND_JET 'j'
79 #define LG_COMMAND_ENERGY 'e'
80 #define LG_COMMAND_LIGHT 'l'
81 #define LG_COMMAND_FAN_SPEED 'f'
82 #define LG_COMMAND_TEMPERATURE 't'
83 #define LG_COMMAND_TEMPERATURE_PLUS '+'
84 #define LG_COMMAND_TEMPERATURE_MINUS '-'
85 #define LG_COMMAND_MODE 'm'
86 #define LG_COMMAND_SLEEP 'S'
87 #define LG_COMMAND_TIMER_ON 'T'
88 #define LG_COMMAND_TIMER_OFF 'O'
89 #define LG_COMMAND_CLEAR_ALL 'C'
94 #define AC_MODE_COOLING 'c'
95 #define AC_MODE_DEHUMIDIFIYING 'd'
96 #define AC_MODE_FAN 'f'
97 #define AC_MODE_AUTO 'a'
98 #define AC_MODE_HEATING 'h'
118 void setType(
bool aIsWallType);
125 #define LG_IS_WALL_TYPE true
126 #define LG_IS_TOWER_TYPE false
void setType(bool aIsWallType)
void sendTemperatureFanSpeedAndMode()
void sendIRCommand(uint16_t aCommand)
uint32_t raw
The state of the IR remote in IR code form.
bool sendCommandAndParameter(char aCommand, int aParameter)
void printMenu(Print *aSerial)