| IRremoteESP8266
    | 
Class for handling detailed Sanyo A/C messages. More...
#include <ir_Sanyo.h>

| Public Member Functions | |
| IRSanyoAc88 (const uint16_t pin, const bool inverted=false, const bool use_modulation=true) | |
| Class constructor.  More... | |
| void | stateReset (void) | 
| Reset the state of the remote to a known good state/sequence.  More... | |
| void | send (const uint16_t repeat=kSanyoAc88MinRepeat) | 
| Send the current internal state as IR messages.  More... | |
| int8_t | calibrate (void) | 
| Run the calibration to calculate uSec timing offsets for this platform.  More... | |
| void | begin (void) | 
| Set up hardware to be able to send a message.  More... | |
| void | on (void) | 
| Set the requested power state of the A/C to on.  More... | |
| void | off (void) | 
| Set the requested power state of the A/C to off.  More... | |
| void | setPower (const bool on) | 
| Change the power setting.  More... | |
| bool | getPower (void) const | 
| Get the value of the current power setting.  More... | |
| void | setTemp (const uint8_t degrees) | 
| Set the desired temperature.  More... | |
| uint8_t | getTemp (void) const | 
| Get the current desired temperature setting.  More... | |
| void | setFan (const uint8_t speed) | 
| Set the speed of the fan.  More... | |
| uint8_t | getFan (void) const | 
| Get the current fan speed setting.  More... | |
| void | setMode (const uint8_t mode) | 
| Set the operating mode of the A/C.  More... | |
| uint8_t | getMode (void) const | 
| Get the operating mode setting of the A/C.  More... | |
| void | setSleep (const bool on) | 
| Change the Sleep setting.  More... | |
| bool | getSleep (void) const | 
| Get the value of the current Sleep setting.  More... | |
| void | setTurbo (const bool on) | 
| Change the Turbo setting.  More... | |
| bool | getTurbo (void) const | 
| Get the value of the current Turbo setting.  More... | |
| void | setFilter (const bool on) | 
| Change the Filter setting.  More... | |
| bool | getFilter (void) const | 
| Get the value of the current Filter setting.  More... | |
| void | setSwingV (const bool on) | 
| Change the SwingV setting.  More... | |
| bool | getSwingV (void) const | 
| Get the value of the current SwingV setting.  More... | |
| uint16_t | getClock (void) const | 
| Get the current clock time.  More... | |
| void | setClock (const uint16_t mins_since_midnight) | 
| Set the current clock time.  More... | |
| void | setRaw (const uint8_t newState[]) | 
| Set the internal state from a valid code for this protocol.  More... | |
| uint8_t * | getRaw (void) | 
| Get a PTR to the internal state/code for this protocol with all integrity checks passing.  More... | |
| stdAc::state_t | toCommon (void) const | 
| Convert the current internal state into its stdAc::state_t equivalent.  More... | |
| String | toString (void) const | 
| Convert the current internal state into a human readable string.  More... | |
| Static Public Member Functions | |
| static uint8_t | convertMode (const stdAc::opmode_t mode) | 
| Convert a stdAc::opmode_t enum into its native mode.  More... | |
| static uint8_t | convertFan (const stdAc::fanspeed_t speed) | 
| Convert a stdAc::fanspeed_t enum into it's native speed.  More... | |
| static stdAc::opmode_t | toCommonMode (const uint8_t mode) | 
| Convert a native mode into its stdAc equivalent.  More... | |
| static stdAc::fanspeed_t | toCommonFanSpeed (const uint8_t speed) | 
| Convert a native fan speed into its stdAc equivalent.  More... | |
| Private Member Functions | |
| void | checksum (void) | 
| Static Private Member Functions | |
| static uint8_t | calcChecksum (const uint8_t state[], const uint16_t length=kSanyoAcStateLength) | 
| Private Attributes | |
| IRsend | _irsend | 
| Instance of the IR send class.  More... | |
| SanyoAc88Protocol | _ | 
Class for handling detailed Sanyo A/C messages.
| 
 | explicit | 
Class constructor.
| [in] | pin | GPIO to be used when sending. | 
| [in] | inverted | Is the output signal to be inverted? | 
| [in] | use_modulation | Is frequency modulation to be used? | 
| void IRSanyoAc88::begin | ( | void | ) | 
Set up hardware to be able to send a message.
| 
 | staticprivate | 
| 
 | inline | 
Run the calibration to calculate uSec timing offsets for this platform.
| 
 | private | 
| 
 | static | 
Convert a stdAc::fanspeed_t enum into it's native speed.
| [in] | speed | The enum to be converted. | 
| 
 | static | 
Convert a stdAc::opmode_t enum into its native mode.
| [in] | mode | The enum to be converted. | 
| uint16_t IRSanyoAc88::getClock | ( | void | ) | const | 
Get the current clock time.
| uint8_t IRSanyoAc88::getFan | ( | void | ) | const | 
Get the current fan speed setting.
| bool IRSanyoAc88::getFilter | ( | void | ) | const | 
Get the value of the current Filter setting.
| uint8_t IRSanyoAc88::getMode | ( | void | ) | const | 
Get the operating mode setting of the A/C.
| bool IRSanyoAc88::getPower | ( | void | ) | const | 
Get the value of the current power setting.
| uint8_t * IRSanyoAc88::getRaw | ( | void | ) | 
Get a PTR to the internal state/code for this protocol with all integrity checks passing.
| bool IRSanyoAc88::getSleep | ( | void | ) | const | 
Get the value of the current Sleep setting.
| bool IRSanyoAc88::getSwingV | ( | void | ) | const | 
Get the value of the current SwingV setting.
| uint8_t IRSanyoAc88::getTemp | ( | void | ) | const | 
Get the current desired temperature setting.
| bool IRSanyoAc88::getTurbo | ( | void | ) | const | 
Get the value of the current Turbo setting.
| void IRSanyoAc88::off | ( | void | ) | 
Set the requested power state of the A/C to off.
| void IRSanyoAc88::on | ( | void | ) | 
Set the requested power state of the A/C to on.
| void IRSanyoAc88::send | ( | const uint16_t | repeat = kSanyoAc88MinRepeat | ) | 
Send the current internal state as IR messages.
| [in] | repeat | Nr. of times the message will be repeated. | 
| void IRSanyoAc88::setClock | ( | const uint16_t | mins_since_midnight | ) | 
Set the current clock time.
| [in] | mins_since_midnight | The time as nr. of minutes past midnight. | 
| void IRSanyoAc88::setFan | ( | const uint8_t | speed | ) | 
Set the speed of the fan.
| [in] | speed | The desired setting. | 
| void IRSanyoAc88::setFilter | ( | const bool | on | ) | 
Change the Filter setting.
| [in] | on | true, the setting is on. false, the setting is off. | 
| void IRSanyoAc88::setMode | ( | const uint8_t | mode | ) | 
Set the operating mode of the A/C.
| [in] | mode | The desired operating mode. | 
| void IRSanyoAc88::setPower | ( | const bool | on | ) | 
Change the power setting.
| [in] | on | true, the setting is on. false, the setting is off. | 
| void IRSanyoAc88::setRaw | ( | const uint8_t | newState[] | ) | 
Set the internal state from a valid code for this protocol.
| [in] | newState | A valid code for this protocol. | 
| void IRSanyoAc88::setSleep | ( | const bool | on | ) | 
Change the Sleep setting.
| [in] | on | true, the setting is on. false, the setting is off. | 
| void IRSanyoAc88::setSwingV | ( | const bool | on | ) | 
Change the SwingV setting.
| [in] | on | true, the setting is on. false, the setting is off. | 
| void IRSanyoAc88::setTemp | ( | const uint8_t | degrees | ) | 
Set the desired temperature.
| [in] | degrees | The temperature in degrees celsius. | 
| void IRSanyoAc88::setTurbo | ( | const bool | on | ) | 
Change the Turbo setting.
| [in] | on | true, the setting is on. false, the setting is off. | 
| void IRSanyoAc88::stateReset | ( | void | ) | 
Reset the state of the remote to a known good state/sequence.
| stdAc::state_t IRSanyoAc88::toCommon | ( | void | ) | const | 
Convert the current internal state into its stdAc::state_t equivalent.
| 
 | static | 
| 
 | static | 
| String IRSanyoAc88::toString | ( | void | ) | const | 
Convert the current internal state into a human readable string.
| 
 | private | 
| 
 | private | 
Instance of the IR send class.
 1.8.17
 1.8.17