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

Public Member Functions

 IRMideaAC (uint16_t pin)
 
void stateReset ()
 
void begin ()
 
void on ()
 
void off ()
 
void setPower (const bool state)
 
bool getPower ()
 
void setTemp (const uint8_t temp, const bool useCelsius=false)
 
uint8_t getTemp (const bool useCelsius=false)
 
void setFan (const uint8_t fan)
 
uint8_t getFan ()
 
void setMode (const uint8_t mode)
 
uint8_t getMode ()
 
void setRaw (uint64_t newState)
 
uint64_t getRaw ()
 
void setSleep (const bool state)
 
bool getSleep ()
 
std::string toString ()
 

Static Public Member Functions

static bool validChecksum (const uint64_t state)