Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
IRToshibaAC Class Reference

Public Member Functions

 IRToshibaAC (uint16_t pin)
 
void stateReset ()
 
void begin ()
 
void on ()
 
void off ()
 
void setPower (bool state)
 
bool getPower ()
 
void setTemp (uint8_t temp)
 
uint8_t getTemp ()
 
void setFan (uint8_t fan)
 
uint8_t getFan ()
 
void setMode (uint8_t mode)
 
uint8_t getMode (bool useRaw=false)
 
void setRaw (uint8_t newState[])
 
uint8_t * getRaw ()
 
std::string toString ()
 

Static Public Member Functions

static bool validChecksum (const uint8_t state[], const uint16_t length=TOSHIBA_AC_STATE_LENGTH)