Tasmota/lib/IRremoteESP8266-2.7.8/docs/doxygen/html/classIRMitsubishi136.html

1109 lines
58 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IRremoteESP8266: IRMitsubishi136 Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">IRremoteESP8266
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classIRMitsubishi136-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">IRMitsubishi136 Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Class for handling detailed Mitsubishi 136-bit A/C messages.
<a href="classIRMitsubishi136.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="ir__Mitsubishi_8h_source.html">ir_Mitsubishi.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for IRMitsubishi136:</div>
<div class="dyncontent">
<div class="center"><img src="classIRMitsubishi136__coll__graph.png" border="0" usemap="#IRMitsubishi136_coll__map" alt="Collaboration graph"/></div>
<map name="IRMitsubishi136_coll__map" id="IRMitsubishi136_coll__map">
<area shape="rect" title="Class for handling detailed Mitsubishi 136&#45;bit A/C messages." alt="" coords="5,95,132,121"/>
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="35,5,102,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad92926b993869d0695f11ddb999b2090"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#ad92926b993869d0695f11ddb999b2090">IRMitsubishi136</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
<tr class="memdesc:ad92926b993869d0695f11ddb999b2090"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor. <a href="classIRMitsubishi136.html#ad92926b993869d0695f11ddb999b2090">More...</a><br /></td></tr>
<tr class="separator:ad92926b993869d0695f11ddb999b2090"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67556dab7ed42c68a274f4f24ecc35bb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a67556dab7ed42c68a274f4f24ecc35bb">stateReset</a> (void)</td></tr>
<tr class="memdesc:a67556dab7ed42c68a274f4f24ecc35bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the state of the remote to a known good state/sequence. <a href="classIRMitsubishi136.html#a67556dab7ed42c68a274f4f24ecc35bb">More...</a><br /></td></tr>
<tr class="separator:a67556dab7ed42c68a274f4f24ecc35bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41295e551acf428e76b9b404af2381ad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a41295e551acf428e76b9b404af2381ad">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#a448bd7af5fdab67fb40901a3d6efed21">kMitsubishi136MinRepeat</a>)</td></tr>
<tr class="memdesc:a41295e551acf428e76b9b404af2381ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send the current internal state as an IR message. <a href="classIRMitsubishi136.html#a41295e551acf428e76b9b404af2381ad">More...</a><br /></td></tr>
<tr class="separator:a41295e551acf428e76b9b404af2381ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76133542efc3763cb7edc9809ad8d93c"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a76133542efc3763cb7edc9809ad8d93c">calibrate</a> (void)</td></tr>
<tr class="memdesc:a76133542efc3763cb7edc9809ad8d93c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform. <a href="classIRMitsubishi136.html#a76133542efc3763cb7edc9809ad8d93c">More...</a><br /></td></tr>
<tr class="separator:a76133542efc3763cb7edc9809ad8d93c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbcd8307862beee2899d2b9900537520"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#abbcd8307862beee2899d2b9900537520">begin</a> (void)</td></tr>
<tr class="memdesc:abbcd8307862beee2899d2b9900537520"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up hardware to be able to send a message. <a href="classIRMitsubishi136.html#abbcd8307862beee2899d2b9900537520">More...</a><br /></td></tr>
<tr class="separator:abbcd8307862beee2899d2b9900537520"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74180e99a5f4f1f4b740b442a1b74a06"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a74180e99a5f4f1f4b740b442a1b74a06">on</a> (void)</td></tr>
<tr class="memdesc:a74180e99a5f4f1f4b740b442a1b74a06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the requested power state of the A/C to on. <a href="classIRMitsubishi136.html#a74180e99a5f4f1f4b740b442a1b74a06">More...</a><br /></td></tr>
<tr class="separator:a74180e99a5f4f1f4b740b442a1b74a06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4122014509e9e755881920650f19baf3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a4122014509e9e755881920650f19baf3">off</a> (void)</td></tr>
<tr class="memdesc:a4122014509e9e755881920650f19baf3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the requested power state of the A/C to off. <a href="classIRMitsubishi136.html#a4122014509e9e755881920650f19baf3">More...</a><br /></td></tr>
<tr class="separator:a4122014509e9e755881920650f19baf3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bf52b3784faaca95ff97a09b8be322a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a4bf52b3784faaca95ff97a09b8be322a">setPower</a> (const bool <a class="el" href="classIRMitsubishi136.html#a74180e99a5f4f1f4b740b442a1b74a06">on</a>)</td></tr>
<tr class="memdesc:a4bf52b3784faaca95ff97a09b8be322a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting. <a href="classIRMitsubishi136.html#a4bf52b3784faaca95ff97a09b8be322a">More...</a><br /></td></tr>
<tr class="separator:a4bf52b3784faaca95ff97a09b8be322a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a371faf10c80560e1ad59c70d66147723"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a371faf10c80560e1ad59c70d66147723">getPower</a> (void)</td></tr>
<tr class="memdesc:a371faf10c80560e1ad59c70d66147723"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the current power setting. <a href="classIRMitsubishi136.html#a371faf10c80560e1ad59c70d66147723">More...</a><br /></td></tr>
<tr class="separator:a371faf10c80560e1ad59c70d66147723"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac19c9234a5f65cae50b64d56c4bebb8f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#ac19c9234a5f65cae50b64d56c4bebb8f">setTemp</a> (const uint8_t degrees)</td></tr>
<tr class="memdesc:ac19c9234a5f65cae50b64d56c4bebb8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the temperature. <a href="classIRMitsubishi136.html#ac19c9234a5f65cae50b64d56c4bebb8f">More...</a><br /></td></tr>
<tr class="separator:ac19c9234a5f65cae50b64d56c4bebb8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34bc0e7666264a7e567e45405a57e3e0"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a34bc0e7666264a7e567e45405a57e3e0">getTemp</a> (void)</td></tr>
<tr class="memdesc:a34bc0e7666264a7e567e45405a57e3e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current temperature setting. <a href="classIRMitsubishi136.html#a34bc0e7666264a7e567e45405a57e3e0">More...</a><br /></td></tr>
<tr class="separator:a34bc0e7666264a7e567e45405a57e3e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2aa62126614f734ec3d1b7b3cb653e9e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a2aa62126614f734ec3d1b7b3cb653e9e">setFan</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:a2aa62126614f734ec3d1b7b3cb653e9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the speed of the fan. <a href="classIRMitsubishi136.html#a2aa62126614f734ec3d1b7b3cb653e9e">More...</a><br /></td></tr>
<tr class="separator:a2aa62126614f734ec3d1b7b3cb653e9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61b0a21a32eb1211cab201587de6f7ce"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a61b0a21a32eb1211cab201587de6f7ce">getFan</a> (void)</td></tr>
<tr class="memdesc:a61b0a21a32eb1211cab201587de6f7ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current fan speed setting. <a href="classIRMitsubishi136.html#a61b0a21a32eb1211cab201587de6f7ce">More...</a><br /></td></tr>
<tr class="separator:a61b0a21a32eb1211cab201587de6f7ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaef2ed81bdeb183995e2342c2ca17a8b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#aaef2ed81bdeb183995e2342c2ca17a8b">setMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:aaef2ed81bdeb183995e2342c2ca17a8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the operating mode of the A/C. <a href="classIRMitsubishi136.html#aaef2ed81bdeb183995e2342c2ca17a8b">More...</a><br /></td></tr>
<tr class="separator:aaef2ed81bdeb183995e2342c2ca17a8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3176aec8444f500bdea6e650cee2dbcc"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a3176aec8444f500bdea6e650cee2dbcc">getMode</a> (void)</td></tr>
<tr class="memdesc:a3176aec8444f500bdea6e650cee2dbcc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the operating mode setting of the A/C. <a href="classIRMitsubishi136.html#a3176aec8444f500bdea6e650cee2dbcc">More...</a><br /></td></tr>
<tr class="separator:a3176aec8444f500bdea6e650cee2dbcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d54bc6dd55da18b05f723a1b61e575e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a0d54bc6dd55da18b05f723a1b61e575e">setSwingV</a> (const uint8_t position)</td></tr>
<tr class="memdesc:a0d54bc6dd55da18b05f723a1b61e575e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Vertical Swing mode of the A/C. <a href="classIRMitsubishi136.html#a0d54bc6dd55da18b05f723a1b61e575e">More...</a><br /></td></tr>
<tr class="separator:a0d54bc6dd55da18b05f723a1b61e575e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2cacca74c4a6ade5f9689674bb707ea"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#af2cacca74c4a6ade5f9689674bb707ea">getSwingV</a> (void)</td></tr>
<tr class="memdesc:af2cacca74c4a6ade5f9689674bb707ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Vertical Swing mode of the A/C. <a href="classIRMitsubishi136.html#af2cacca74c4a6ade5f9689674bb707ea">More...</a><br /></td></tr>
<tr class="separator:af2cacca74c4a6ade5f9689674bb707ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70c8a44f93e90ba025a8909c004c3a7b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a70c8a44f93e90ba025a8909c004c3a7b">setQuiet</a> (const bool <a class="el" href="classIRMitsubishi136.html#a74180e99a5f4f1f4b740b442a1b74a06">on</a>)</td></tr>
<tr class="memdesc:a70c8a44f93e90ba025a8909c004c3a7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Quiet mode of the A/C. <a href="classIRMitsubishi136.html#a70c8a44f93e90ba025a8909c004c3a7b">More...</a><br /></td></tr>
<tr class="separator:a70c8a44f93e90ba025a8909c004c3a7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afaf690f15d21fea1070b33b2720e98fa"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#afaf690f15d21fea1070b33b2720e98fa">getQuiet</a> (void)</td></tr>
<tr class="memdesc:afaf690f15d21fea1070b33b2720e98fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Quiet mode of the A/C. <a href="classIRMitsubishi136.html#afaf690f15d21fea1070b33b2720e98fa">More...</a><br /></td></tr>
<tr class="separator:afaf690f15d21fea1070b33b2720e98fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61cceec2bf241a75be1389391e8f3d9a"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a61cceec2bf241a75be1389391e8f3d9a">getRaw</a> (void)</td></tr>
<tr class="memdesc:a61cceec2bf241a75be1389391e8f3d9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a PTR to the internal state/code for this protocol. <a href="classIRMitsubishi136.html#a61cceec2bf241a75be1389391e8f3d9a">More...</a><br /></td></tr>
<tr class="separator:a61cceec2bf241a75be1389391e8f3d9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf0487a6fb163bf896e09b2cae6ee939"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#abf0487a6fb163bf896e09b2cae6ee939">setRaw</a> (const uint8_t *data)</td></tr>
<tr class="memdesc:abf0487a6fb163bf896e09b2cae6ee939"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state from a valid code for this protocol. <a href="classIRMitsubishi136.html#abf0487a6fb163bf896e09b2cae6ee939">More...</a><br /></td></tr>
<tr class="separator:abf0487a6fb163bf896e09b2cae6ee939"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a938360f488ec923e138744b6f80477bb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a938360f488ec923e138744b6f80477bb">toCommon</a> (void)</td></tr>
<tr class="memdesc:a938360f488ec923e138744b6f80477bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivilant. <a href="classIRMitsubishi136.html#a938360f488ec923e138744b6f80477bb">More...</a><br /></td></tr>
<tr class="separator:a938360f488ec923e138744b6f80477bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e49c540665a724c895674edef31d980"><td class="memItemLeft" align="right" valign="top"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a8e49c540665a724c895674edef31d980">toString</a> (void)</td></tr>
<tr class="memdesc:a8e49c540665a724c895674edef31d980"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the internal state into a human readable string. <a href="classIRMitsubishi136.html#a8e49c540665a724c895674edef31d980">More...</a><br /></td></tr>
<tr class="separator:a8e49c540665a724c895674edef31d980"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a666d1268a93e96b50ac9012c09320de9"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a666d1268a93e96b50ac9012c09320de9">validChecksum</a> (const uint8_t *data, const uint16_t len=<a class="el" href="IRremoteESP8266_8h.html#a01adbe4e1afb2ba26a5a60bf5b0b42f6">kMitsubishi136StateLength</a>)</td></tr>
<tr class="memdesc:a666d1268a93e96b50ac9012c09320de9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify the checksum is valid for a given state. <a href="classIRMitsubishi136.html#a666d1268a93e96b50ac9012c09320de9">More...</a><br /></td></tr>
<tr class="separator:a666d1268a93e96b50ac9012c09320de9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43b8ff1083d09563a5d3a25b24e480ea"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a43b8ff1083d09563a5d3a25b24e480ea">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
<tr class="memdesc:a43b8ff1083d09563a5d3a25b24e480ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode. <a href="classIRMitsubishi136.html#a43b8ff1083d09563a5d3a25b24e480ea">More...</a><br /></td></tr>
<tr class="separator:a43b8ff1083d09563a5d3a25b24e480ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81e691b386950859d1ad0a3c7faf7e49"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a81e691b386950859d1ad0a3c7faf7e49">convertFan</a> (const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> speed)</td></tr>
<tr class="memdesc:a81e691b386950859d1ad0a3c7faf7e49"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed. <a href="classIRMitsubishi136.html#a81e691b386950859d1ad0a3c7faf7e49">More...</a><br /></td></tr>
<tr class="separator:a81e691b386950859d1ad0a3c7faf7e49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59dee0c57d3ca2bdf4c7839142d23059"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a59dee0c57d3ca2bdf4c7839142d23059">convertSwingV</a> (const <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a> position)</td></tr>
<tr class="memdesc:a59dee0c57d3ca2bdf4c7839142d23059"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43" title="Common A/C settings for Vertical Swing.">stdAc::swingv_t</a> enum into it's native setting. <a href="classIRMitsubishi136.html#a59dee0c57d3ca2bdf4c7839142d23059">More...</a><br /></td></tr>
<tr class="separator:a59dee0c57d3ca2bdf4c7839142d23059"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2771fd09b2e953b037c0c65c4e4029ee"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#a2771fd09b2e953b037c0c65c4e4029ee">toCommonMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a2771fd09b2e953b037c0c65c4e4029ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivilant. <a href="classIRMitsubishi136.html#a2771fd09b2e953b037c0c65c4e4029ee">More...</a><br /></td></tr>
<tr class="separator:a2771fd09b2e953b037c0c65c4e4029ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf9f9f17f3ac59ef325b57b9110faa34"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#aaf9f9f17f3ac59ef325b57b9110faa34">toCommonFanSpeed</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:aaf9f9f17f3ac59ef325b57b9110faa34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivilant. <a href="classIRMitsubishi136.html#aaf9f9f17f3ac59ef325b57b9110faa34">More...</a><br /></td></tr>
<tr class="separator:aaf9f9f17f3ac59ef325b57b9110faa34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca5e6ac2d886083c8c56e2949f9d11e9"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#aca5e6ac2d886083c8c56e2949f9d11e9">toCommonSwingV</a> (const uint8_t pos)</td></tr>
<tr class="memdesc:aca5e6ac2d886083c8c56e2949f9d11e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native vertical swing postion to it's common equivalent. <a href="classIRMitsubishi136.html#aca5e6ac2d886083c8c56e2949f9d11e9">More...</a><br /></td></tr>
<tr class="separator:aca5e6ac2d886083c8c56e2949f9d11e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:aa2c6fe9b28462052cf6627960126a783"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#aa2c6fe9b28462052cf6627960126a783">checksum</a> (void)</td></tr>
<tr class="memdesc:aa2c6fe9b28462052cf6627960126a783"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the checksum for the current internal state of the remote. <a href="classIRMitsubishi136.html#aa2c6fe9b28462052cf6627960126a783">More...</a><br /></td></tr>
<tr class="separator:aa2c6fe9b28462052cf6627960126a783"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:acd14c7bb6b26d0603ee552a000e16d43"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classIRsend.html">IRsend</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#acd14c7bb6b26d0603ee552a000e16d43">_irsend</a></td></tr>
<tr class="memdesc:acd14c7bb6b26d0603ee552a000e16d43"><td class="mdescLeft">&#160;</td><td class="mdescRight">Instance of the IR send class. <a href="classIRMitsubishi136.html#acd14c7bb6b26d0603ee552a000e16d43">More...</a><br /></td></tr>
<tr class="separator:acd14c7bb6b26d0603ee552a000e16d43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1e80d693d3558f0bed4c0f7995bddd5"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRMitsubishi136.html#ad1e80d693d3558f0bed4c0f7995bddd5">remote_state</a> [<a class="el" href="IRremoteESP8266_8h.html#a01adbe4e1afb2ba26a5a60bf5b0b42f6">kMitsubishi136StateLength</a>]</td></tr>
<tr class="memdesc:ad1e80d693d3558f0bed4c0f7995bddd5"><td class="mdescLeft">&#160;</td><td class="mdescRight">The state in code form. <a href="classIRMitsubishi136.html#ad1e80d693d3558f0bed4c0f7995bddd5">More...</a><br /></td></tr>
<tr class="separator:ad1e80d693d3558f0bed4c0f7995bddd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class for handling detailed Mitsubishi 136-bit A/C messages. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ad92926b993869d0695f11ddb999b2090"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad92926b993869d0695f11ddb999b2090">&#9670;&nbsp;</a></span>IRMitsubishi136()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">IRMitsubishi136::IRMitsubishi136 </td>
<td>(</td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>pin</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>inverted</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>use_modulation</em> = <code>true</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Class constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">pin</td><td>GPIO to be used when sending. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">inverted</td><td>Is the output signal to be inverted? </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">use_modulation</td><td>Is frequency modulation to be used? </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="abbcd8307862beee2899d2b9900537520"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abbcd8307862beee2899d2b9900537520">&#9670;&nbsp;</a></span>begin()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMitsubishi136::begin </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set up hardware to be able to send a message. </p>
</div>
</div>
<a id="a76133542efc3763cb7edc9809ad8d93c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76133542efc3763cb7edc9809ad8d93c">&#9670;&nbsp;</a></span>calibrate()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int8_t IRMitsubishi136::calibrate </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Run the calibration to calculate uSec timing offsets for this platform. </p>
<dl class="section return"><dt>Returns</dt><dd>The uSec timing offset needed per modulation of the IR Led. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>This will produce a 65ms IR signal pulse at 38kHz. Only ever needs to be run once per object instantiation, if at all. </dd></dl>
</div>
</div>
<a id="aa2c6fe9b28462052cf6627960126a783"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2c6fe9b28462052cf6627960126a783">&#9670;&nbsp;</a></span>checksum()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void IRMitsubishi136::checksum </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Calculate the checksum for the current internal state of the remote. </p>
</div>
</div>
<a id="a81e691b386950859d1ad0a3c7faf7e49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81e691b386950859d1ad0a3c7faf7e49">&#9670;&nbsp;</a></span>convertFan()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t IRMitsubishi136::convertFan </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td>
<td class="paramname"><em>speed</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The enum to be converted. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivilant of the enum. </dd></dl>
</div>
</div>
<a id="a43b8ff1083d09563a5d3a25b24e480ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43b8ff1083d09563a5d3a25b24e480ea">&#9670;&nbsp;</a></span>convertMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t IRMitsubishi136::convertMode </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td>
<td class="paramname"><em>mode</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The enum to be converted. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivilant of the enum. </dd></dl>
</div>
</div>
<a id="a59dee0c57d3ca2bdf4c7839142d23059"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59dee0c57d3ca2bdf4c7839142d23059">&#9670;&nbsp;</a></span>convertSwingV()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t IRMitsubishi136::convertSwingV </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a>&#160;</td>
<td class="paramname"><em>position</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert a <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43" title="Common A/C settings for Vertical Swing.">stdAc::swingv_t</a> enum into it's native setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">position</td><td>The enum to be converted. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivilant of the enum. </dd></dl>
</div>
</div>
<a id="a61b0a21a32eb1211cab201587de6f7ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61b0a21a32eb1211cab201587de6f7ce">&#9670;&nbsp;</a></span>getFan()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRMitsubishi136::getFan </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the current fan speed setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current fan speed/mode. </dd></dl>
</div>
</div>
<a id="a3176aec8444f500bdea6e650cee2dbcc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3176aec8444f500bdea6e650cee2dbcc">&#9670;&nbsp;</a></span>getMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRMitsubishi136::getMode </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the operating mode setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The current operating mode setting. </dd></dl>
</div>
</div>
<a id="a371faf10c80560e1ad59c70d66147723"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a371faf10c80560e1ad59c70d66147723">&#9670;&nbsp;</a></span>getPower()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRMitsubishi136::getPower </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the value of the current power setting. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>
</div>
</div>
<a id="afaf690f15d21fea1070b33b2720e98fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afaf690f15d21fea1070b33b2720e98fa">&#9670;&nbsp;</a></span>getQuiet()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRMitsubishi136::getQuiet </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the Quiet mode of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>
</div>
</div>
<a id="a61cceec2bf241a75be1389391e8f3d9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61cceec2bf241a75be1389391e8f3d9a">&#9670;&nbsp;</a></span>getRaw()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t * IRMitsubishi136::getRaw </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get a PTR to the internal state/code for this protocol. </p>
<dl class="section return"><dt>Returns</dt><dd>PTR to a code for this protocol based on the current internal state. </dd></dl>
</div>
</div>
<a id="af2cacca74c4a6ade5f9689674bb707ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2cacca74c4a6ade5f9689674bb707ea">&#9670;&nbsp;</a></span>getSwingV()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRMitsubishi136::getSwingV </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the Vertical Swing mode of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The native position/mode setting. </dd></dl>
</div>
</div>
<a id="a34bc0e7666264a7e567e45405a57e3e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34bc0e7666264a7e567e45405a57e3e0">&#9670;&nbsp;</a></span>getTemp()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRMitsubishi136::getTemp </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the current temperature setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current setting for temp. in degrees celsius. </dd></dl>
</div>
</div>
<a id="a4122014509e9e755881920650f19baf3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4122014509e9e755881920650f19baf3">&#9670;&nbsp;</a></span>off()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMitsubishi136::off </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the requested power state of the A/C to off. </p>
</div>
</div>
<a id="a74180e99a5f4f1f4b740b442a1b74a06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74180e99a5f4f1f4b740b442a1b74a06">&#9670;&nbsp;</a></span>on()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMitsubishi136::on </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the requested power state of the A/C to on. </p>
</div>
</div>
<a id="a41295e551acf428e76b9b404af2381ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41295e551acf428e76b9b404af2381ad">&#9670;&nbsp;</a></span>send()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMitsubishi136::send </td>
<td>(</td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>repeat</em> = <code><a class="el" href="IRremoteESP8266_8h.html#a448bd7af5fdab67fb40901a3d6efed21">kMitsubishi136MinRepeat</a></code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Send the current internal state as an IR message. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">repeat</td><td>Nr. of times the message will be repeated. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a2aa62126614f734ec3d1b7b3cb653e9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2aa62126614f734ec3d1b7b3cb653e9e">&#9670;&nbsp;</a></span>setFan()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMitsubishi136::setFan </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>speed</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the speed of the fan. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The desired setting. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="aaef2ed81bdeb183995e2342c2ca17a8b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaef2ed81bdeb183995e2342c2ca17a8b">&#9670;&nbsp;</a></span>setMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMitsubishi136::setMode </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>mode</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the operating mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The desired operating mode. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a4bf52b3784faaca95ff97a09b8be322a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4bf52b3784faaca95ff97a09b8be322a">&#9670;&nbsp;</a></span>setPower()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMitsubishi136::setPower </td>
<td>(</td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>on</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Change the power setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a70c8a44f93e90ba025a8909c004c3a7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70c8a44f93e90ba025a8909c004c3a7b">&#9670;&nbsp;</a></span>setQuiet()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMitsubishi136::setQuiet </td>
<td>(</td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>on</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the Quiet mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="abf0487a6fb163bf896e09b2cae6ee939"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf0487a6fb163bf896e09b2cae6ee939">&#9670;&nbsp;</a></span>setRaw()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMitsubishi136::setRaw </td>
<td>(</td>
<td class="paramtype">const uint8_t *&#160;</td>
<td class="paramname"><em>data</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the internal state from a valid code for this protocol. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>A valid code for this protocol. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a0d54bc6dd55da18b05f723a1b61e575e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d54bc6dd55da18b05f723a1b61e575e">&#9670;&nbsp;</a></span>setSwingV()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMitsubishi136::setSwingV </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>position</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the Vertical Swing mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">position</td><td>The position/mode to set the swing to. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ac19c9234a5f65cae50b64d56c4bebb8f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac19c9234a5f65cae50b64d56c4bebb8f">&#9670;&nbsp;</a></span>setTemp()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMitsubishi136::setTemp </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>degrees</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the temperature. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">degrees</td><td>The temperature in degrees celsius. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a67556dab7ed42c68a274f4f24ecc35bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67556dab7ed42c68a274f4f24ecc35bb">&#9670;&nbsp;</a></span>stateReset()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRMitsubishi136::stateReset </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Reset the state of the remote to a known good state/sequence. </p>
</div>
</div>
<a id="a938360f488ec923e138744b6f80477bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a938360f488ec923e138744b6f80477bb">&#9670;&nbsp;</a></span>toCommon()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> IRMitsubishi136::toCommon </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivilant. </p>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivilant of the native settings. </dd></dl>
</div>
</div>
<a id="aaf9f9f17f3ac59ef325b57b9110faa34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf9f9f17f3ac59ef325b57b9110faa34">&#9670;&nbsp;</a></span>toCommonFanSpeed()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> IRMitsubishi136::toCommonFanSpeed </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>speed</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivilant. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The native setting to be converted. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivilant of the native setting. </dd></dl>
</div>
</div>
<a id="a2771fd09b2e953b037c0c65c4e4029ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2771fd09b2e953b037c0c65c4e4029ee">&#9670;&nbsp;</a></span>toCommonMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> IRMitsubishi136::toCommonMode </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>mode</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivilant. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The native setting to be converted. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivilant of the native setting. </dd></dl>
</div>
</div>
<a id="aca5e6ac2d886083c8c56e2949f9d11e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca5e6ac2d886083c8c56e2949f9d11e9">&#9670;&nbsp;</a></span>toCommonSwingV()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a> IRMitsubishi136::toCommonSwingV </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>pos</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert a native vertical swing postion to it's common equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">pos</td><td>A native position to convert. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The common vertical swing position. </dd></dl>
</div>
</div>
<a id="a8e49c540665a724c895674edef31d980"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e49c540665a724c895674edef31d980">&#9670;&nbsp;</a></span>toString()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a> IRMitsubishi136::toString </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert the internal state into a human readable string. </p>
<dl class="section return"><dt>Returns</dt><dd>A string containing the settings in human-readable form. </dd></dl>
</div>
</div>
<a id="a666d1268a93e96b50ac9012c09320de9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a666d1268a93e96b50ac9012c09320de9">&#9670;&nbsp;</a></span>validChecksum()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool IRMitsubishi136::validChecksum </td>
<td>(</td>
<td class="paramtype">const uint8_t *&#160;</td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>len</em> = <code><a class="el" href="IRremoteESP8266_8h.html#a01adbe4e1afb2ba26a5a60bf5b0b42f6">kMitsubishi136StateLength</a></code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Verify the checksum is valid for a given state. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>The array to verify the checksum of. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">len</td><td>The length of the data array. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true, if the state has a valid checksum. Otherwise, false. </dd></dl>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="acd14c7bb6b26d0603ee552a000e16d43"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd14c7bb6b26d0603ee552a000e16d43">&#9670;&nbsp;</a></span>_irsend</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classIRsend.html">IRsend</a> IRMitsubishi136::_irsend</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Instance of the IR send class. </p>
</div>
</div>
<a id="ad1e80d693d3558f0bed4c0f7995bddd5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1e80d693d3558f0bed4c0f7995bddd5">&#9670;&nbsp;</a></span>remote_state</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t IRMitsubishi136::remote_state[<a class="el" href="IRremoteESP8266_8h.html#a01adbe4e1afb2ba26a5a60bf5b0b42f6">kMitsubishi136StateLength</a>]</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The state in code form. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="ir__Mitsubishi_8h_source.html">ir_Mitsubishi.h</a></li>
<li>src/<a class="el" href="ir__Mitsubishi_8cpp.html">ir_Mitsubishi.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>