A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://crankyoldgit.github.io/IRremoteESP8266/doxygen/html/classIRWhirlpoolAc.html below:

IRremoteESP8266: IRWhirlpoolAc Class Reference

Class for handling detailed Whirlpool A/C messages. More...

#include <ir_Whirlpool.h>

Class for handling detailed Whirlpool A/C messages.

◆ IRWhirlpoolAc() IRWhirlpoolAc::IRWhirlpoolAc ( const uint16_t  pin, const bool  inverted = false, const bool  use_modulation = true  ) explicit

Class constructor.

Parameters
[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?
◆ _setMode() void IRWhirlpoolAc::_setMode ( const uint8_t  mode ) private

Set the operating mode of the A/C.

Parameters
[in] mode The desired operating mode.
Note
Internal use only.
◆ _setTemp() void IRWhirlpoolAc::_setTemp ( const uint8_t  temp, const bool  remember = true  ) private

Set the temperature.

Parameters
[in] temp The temperature in degrees celsius. [in] remember Do we save this temperature?
Note
Internal use only.
◆ begin() void IRWhirlpoolAc::begin ( void  )

Set up hardware to be able to send a message.

◆ calibrate() int8_t IRWhirlpoolAc::calibrate ( void  ) inline

Run the calibration to calculate uSec timing offsets for this platform.

Returns
The uSec timing offset needed per modulation of the IR Led.
Note
This will produce a 65ms IR signal pulse at 38kHz. Only ever needs to be run once per object instantiation, if at all.
◆ checksum()

Calculate & set the checksum for the current internal state of the remote.

Parameters
[in] length The length/size of the internal state array.
◆ convertFan()

Convert a stdAc::fanspeed_t enum into it's native speed.

Parameters
[in] speed The enum to be converted.
Returns
The native equivalent of the enum.
◆ convertMode()

Convert a stdAc::opmode_t enum into its native mode.

Parameters
[in] mode The enum to be converted.
Returns
The native equivalent of the enum.
◆ enableOffTimer() void IRWhirlpoolAc::enableOffTimer ( const bool  on )

Enable the Off Timer.

Parameters
[in] on true, the timer is enabled. false, the timer is disabled.
◆ enableOnTimer() void IRWhirlpoolAc::enableOnTimer ( const bool  on )

Enable the On Timer.

Parameters
[in] on true, the timer is enabled. false, the timer is disabled.
◆ getClock() uint16_t IRWhirlpoolAc::getClock ( void  ) const

Get the clock time in nr. of minutes past midnight.

Returns
The time expressed as the Nr. of minutes past midnight.
◆ getCommand() uint8_t IRWhirlpoolAc::getCommand ( void  ) const

Get the Command (Button) setting of the A/C.

Returns
The current Command (Button) of the A/C.
◆ getFan() uint8_t IRWhirlpoolAc::getFan ( void  ) const

Get the current fan speed setting.

Returns
The current fan speed/mode.
◆ getLight() bool IRWhirlpoolAc::getLight ( void  ) const

Get the Light (Display/LED) setting of the A/C.

Returns
true, the setting is on. false, the setting is off.
◆ getMode() uint8_t IRWhirlpoolAc::getMode ( void  ) const

Get the operating mode setting of the A/C.

Returns
The current operating mode setting.
◆ getModel()

Get/Detect the model of the A/C.

Returns
The enum of the compatible model.
◆ getOffTimer() uint16_t IRWhirlpoolAc::getOffTimer ( void  ) const

Get the Off Timer time..

Returns
The time expressed as the Nr. of minutes past midnight.
◆ getOnTimer() uint16_t IRWhirlpoolAc::getOnTimer ( void  ) const

Get the On Timer time..

Returns
The time expressed as the Nr. of minutes past midnight.
◆ getPowerToggle() bool IRWhirlpoolAc::getPowerToggle ( void  ) const

Get the value of the current power toggle setting.

Returns
true, the setting is on. false, the setting is off.
◆ getRaw() uint8_t * IRWhirlpoolAc::getRaw ( const bool  calcchecksum = true )

Get a copy of the internal state/code for this protocol.

Parameters
[in] calcchecksum Do we need to calculate the checksum?.
Returns
A code for this protocol based on the current internal state.
◆ getSleep() bool IRWhirlpoolAc::getSleep ( void  ) const

Get the Sleep setting of the A/C.

Returns
true, the setting is on. false, the setting is off.
◆ getSuper() bool IRWhirlpoolAc::getSuper ( void  ) const

Get the Super (Turbo/Jet) setting of the A/C.

Returns
true, the setting is on. false, the setting is off.
◆ getSwing() bool IRWhirlpoolAc::getSwing ( void  ) const

Get the (vertical) swing setting of the A/C.

Returns
true, the setting is on. false, the setting is off.
◆ getTemp() uint8_t IRWhirlpoolAc::getTemp ( void  ) const

Get the current temperature setting.

Returns
The current setting for temp. in degrees celsius.
◆ getTempOffset() int8_t IRWhirlpoolAc::getTempOffset ( void  ) const private

Calculate the temp. offset in deg C for the current model.

Returns
The temperature offset.
◆ isOffTimerEnabled() bool IRWhirlpoolAc::isOffTimerEnabled ( void  ) const

Is the Off timer enabled?

Returns
true, the Timer is enabled. false, the Timer is disabled.
◆ isOnTimerEnabled() bool IRWhirlpoolAc::isOnTimerEnabled ( void  ) const

Is the On timer enabled?

Returns
true, the Timer is enabled. false, the Timer is disabled.
◆ send()

Send the current internal state as an IR message.

Parameters
[in] repeat Nr. of times the message will be repeated. [in] calcchecksum Do we need to calculate the checksum?.
◆ setClock() void IRWhirlpoolAc::setClock ( const uint16_t  minspastmidnight )

Set the clock time in nr. of minutes past midnight.

Parameters
[in] minspastmidnight The time expressed as minutes past midnight.
◆ setCommand() void IRWhirlpoolAc::setCommand ( const uint8_t  code )

Set the Command (Button) setting of the A/C.

Parameters
[in] code The current Command (Button) of the A/C.
◆ setFan() void IRWhirlpoolAc::setFan ( const uint8_t  speed )

Set the speed of the fan.

Parameters
[in] speed The desired setting.
◆ setLight() void IRWhirlpoolAc::setLight ( const bool  on )

Set the Light (Display/LED) setting of the A/C.

Parameters
[in] on true, the setting is on. false, the setting is off.
◆ setMode() void IRWhirlpoolAc::setMode ( const uint8_t  mode )

Set the operating mode of the A/C.

Parameters
[in] mode The desired operating mode.
◆ setModel()

Set the model of the A/C to emulate.

Parameters
[in] model The enum of the appropriate model.
◆ setOffTimer() void IRWhirlpoolAc::setOffTimer ( const uint16_t  minspastmidnight )

Set the Off Timer time.

Parameters
[in] minspastmidnight The time expressed as minutes past midnight.
◆ setOnTimer() void IRWhirlpoolAc::setOnTimer ( const uint16_t  minspastmidnight )

Set the On Timer time.

Parameters
[in] minspastmidnight The time expressed as minutes past midnight.
◆ setPowerToggle() void IRWhirlpoolAc::setPowerToggle ( const bool  on )

Change the power toggle setting.

Parameters
[in] on true, the setting is on. false, the setting is off.
◆ setRaw()

Set the internal state from a valid code for this protocol.

Parameters
[in] new_code A valid code for this protocol. [in] length The length/size of the new_code array.
◆ setSleep() void IRWhirlpoolAc::setSleep ( const bool  on )

Set the Sleep setting of the A/C.

Parameters
[in] on true, the setting is on. false, the setting is off.
◆ setSuper() void IRWhirlpoolAc::setSuper ( const bool  on )

Set the Super (Turbo/Jet) setting of the A/C.

Parameters
[in] on true, the setting is on. false, the setting is off.
◆ setSwing() void IRWhirlpoolAc::setSwing ( const bool  on )

Set the (vertical) swing setting of the A/C.

Parameters
[in] on true, the setting is on. false, the setting is off.
◆ setTemp() void IRWhirlpoolAc::setTemp ( const uint8_t  temp )

Set the temperature.

Parameters
[in] temp The temperature in degrees celsius.
◆ stateReset() void IRWhirlpoolAc::stateReset ( void  )

Reset the state of the remote to a known good state/sequence.

◆ toCommon()

Convert the current internal state into its stdAc::state_t equivalent.

Parameters
[in] prev Ptr to the previous state if required.
Returns
The stdAc equivalent of the native settings.
◆ toCommonFanSpeed()

Convert a native fan speed into its stdAc equivalent.

Parameters
[in] speed The native setting to be converted.
Returns
The stdAc equivalent of the native setting.
◆ toCommonMode()

Convert a native mode into its stdAc equivalent.

Parameters
[in] mode The native setting to be converted.
Returns
The stdAc equivalent of the native setting.
◆ toString() String IRWhirlpoolAc::toString ( void  ) const

Convert the current internal state into a human readable string.

Returns
A human readable string.
◆ validChecksum()

Verify the checksum is valid for a given state.

Parameters
[in] state The array to verify the checksum of. [in] length The length/size of the array.
Returns
true, if the state has a valid checksum. Otherwise, false.
◆ _ ◆ _desiredtemp uint8_t IRWhirlpoolAc::_desiredtemp private

The last user explicitly set temperature.

◆ _irsend

Instance of the IR send class.

The documentation for this class was generated from the following files:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4