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

1415 lines
74 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: IRHitachiAc1 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="classIRHitachiAc1-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">IRHitachiAc1 Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Class for handling detailed Hitachi 104-bit A/C messages.
<a href="classIRHitachiAc1.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="ir__Hitachi_8h_source.html">ir_Hitachi.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for IRHitachiAc1:</div>
<div class="dyncontent">
<div class="center"><img src="classIRHitachiAc1__coll__graph.png" border="0" usemap="#IRHitachiAc1_coll__map" alt="Collaboration graph"/></div>
<map name="IRHitachiAc1_coll__map" id="IRHitachiAc1_coll__map">
<area shape="rect" title="Class for handling detailed Hitachi 104&#45;bit A/C messages." alt="" coords="5,95,111,121"/>
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="25,5,91,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:ac00cfd9a60e08d34f292878de47f622f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#ac00cfd9a60e08d34f292878de47f622f">IRHitachiAc1</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
<tr class="memdesc:ac00cfd9a60e08d34f292878de47f622f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor. <a href="classIRHitachiAc1.html#ac00cfd9a60e08d34f292878de47f622f">More...</a><br /></td></tr>
<tr class="separator:ac00cfd9a60e08d34f292878de47f622f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9764b329d982d018b15098b3044f9596"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a9764b329d982d018b15098b3044f9596">stateReset</a> (void)</td></tr>
<tr class="memdesc:a9764b329d982d018b15098b3044f9596"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the internal state to a fixed known good state. <a href="classIRHitachiAc1.html#a9764b329d982d018b15098b3044f9596">More...</a><br /></td></tr>
<tr class="separator:a9764b329d982d018b15098b3044f9596"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafad51c226066b8697cf00661ef38d99"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#aafad51c226066b8697cf00661ef38d99">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#acc8510281d2ff9a808501d375c03ba21">kHitachiAcDefaultRepeat</a>)</td></tr>
<tr class="memdesc:aafad51c226066b8697cf00661ef38d99"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send the current internal state as an IR message. <a href="classIRHitachiAc1.html#aafad51c226066b8697cf00661ef38d99">More...</a><br /></td></tr>
<tr class="separator:aafad51c226066b8697cf00661ef38d99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a847a26df2e19668b147cba2eef595a21"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a847a26df2e19668b147cba2eef595a21">calibrate</a> (void)</td></tr>
<tr class="memdesc:a847a26df2e19668b147cba2eef595a21"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform. <a href="classIRHitachiAc1.html#a847a26df2e19668b147cba2eef595a21">More...</a><br /></td></tr>
<tr class="separator:a847a26df2e19668b147cba2eef595a21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28d5d351003d3e0bc1506b06cac8b3d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a28d5d351003d3e0bc1506b06cac8b3d6">begin</a> (void)</td></tr>
<tr class="memdesc:a28d5d351003d3e0bc1506b06cac8b3d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up hardware to be able to send a message. <a href="classIRHitachiAc1.html#a28d5d351003d3e0bc1506b06cac8b3d6">More...</a><br /></td></tr>
<tr class="separator:a28d5d351003d3e0bc1506b06cac8b3d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea4fe1fddb56c8df31077b301e9c6473"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#aea4fe1fddb56c8df31077b301e9c6473">on</a> (void)</td></tr>
<tr class="memdesc:aea4fe1fddb56c8df31077b301e9c6473"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting to On. <a href="classIRHitachiAc1.html#aea4fe1fddb56c8df31077b301e9c6473">More...</a><br /></td></tr>
<tr class="separator:aea4fe1fddb56c8df31077b301e9c6473"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a646b554980706d0dd2ac762be8458cdb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a646b554980706d0dd2ac762be8458cdb">off</a> (void)</td></tr>
<tr class="memdesc:a646b554980706d0dd2ac762be8458cdb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting to Off. <a href="classIRHitachiAc1.html#a646b554980706d0dd2ac762be8458cdb">More...</a><br /></td></tr>
<tr class="separator:a646b554980706d0dd2ac762be8458cdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb8c2c87e87f9d538f171e842c9d309a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#abb8c2c87e87f9d538f171e842c9d309a">setModel</a> (const <a class="el" href="IRsend_8h.html#acd0c6107b5a6cab2080b18a8de14ea49">hitachi_ac1_remote_model_t</a> model)</td></tr>
<tr class="memdesc:abb8c2c87e87f9d538f171e842c9d309a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the model of the A/C to emulate. <a href="classIRHitachiAc1.html#abb8c2c87e87f9d538f171e842c9d309a">More...</a><br /></td></tr>
<tr class="separator:abb8c2c87e87f9d538f171e842c9d309a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ad677e1a2d7acba032701051538b08a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="IRsend_8h.html#acd0c6107b5a6cab2080b18a8de14ea49">hitachi_ac1_remote_model_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a9ad677e1a2d7acba032701051538b08a">getModel</a> (void)</td></tr>
<tr class="memdesc:a9ad677e1a2d7acba032701051538b08a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get/Detect the model of the A/C. <a href="classIRHitachiAc1.html#a9ad677e1a2d7acba032701051538b08a">More...</a><br /></td></tr>
<tr class="separator:a9ad677e1a2d7acba032701051538b08a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dd034793018ea58d0cc32e7a47e8f35"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a4dd034793018ea58d0cc32e7a47e8f35">setPower</a> (const bool <a class="el" href="classIRHitachiAc1.html#aea4fe1fddb56c8df31077b301e9c6473">on</a>)</td></tr>
<tr class="memdesc:a4dd034793018ea58d0cc32e7a47e8f35"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting. <a href="classIRHitachiAc1.html#a4dd034793018ea58d0cc32e7a47e8f35">More...</a><br /></td></tr>
<tr class="separator:a4dd034793018ea58d0cc32e7a47e8f35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4756a44153997ff686e8a14369407c0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#ab4756a44153997ff686e8a14369407c0">getPower</a> (void)</td></tr>
<tr class="memdesc:ab4756a44153997ff686e8a14369407c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the current power setting. <a href="classIRHitachiAc1.html#ab4756a44153997ff686e8a14369407c0">More...</a><br /></td></tr>
<tr class="separator:ab4756a44153997ff686e8a14369407c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae30430edd92ec4b848c8a105a78e8068"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#ae30430edd92ec4b848c8a105a78e8068">setPowerToggle</a> (const bool <a class="el" href="classIRHitachiAc1.html#aea4fe1fddb56c8df31077b301e9c6473">on</a>)</td></tr>
<tr class="memdesc:ae30430edd92ec4b848c8a105a78e8068"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power toggle setting. <a href="classIRHitachiAc1.html#ae30430edd92ec4b848c8a105a78e8068">More...</a><br /></td></tr>
<tr class="separator:ae30430edd92ec4b848c8a105a78e8068"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a384412f40bfde7a9934fbb7eb2813641"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a384412f40bfde7a9934fbb7eb2813641">getPowerToggle</a> (void)</td></tr>
<tr class="memdesc:a384412f40bfde7a9934fbb7eb2813641"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the current power toggle setting. <a href="classIRHitachiAc1.html#a384412f40bfde7a9934fbb7eb2813641">More...</a><br /></td></tr>
<tr class="separator:a384412f40bfde7a9934fbb7eb2813641"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10ba2dcbe447e505cbaa1a9b63f4823c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a10ba2dcbe447e505cbaa1a9b63f4823c">setTemp</a> (const uint8_t temp)</td></tr>
<tr class="memdesc:a10ba2dcbe447e505cbaa1a9b63f4823c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the temperature. <a href="classIRHitachiAc1.html#a10ba2dcbe447e505cbaa1a9b63f4823c">More...</a><br /></td></tr>
<tr class="separator:a10ba2dcbe447e505cbaa1a9b63f4823c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5c55a06a32134bb3e30b83cce2feeaa"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#ac5c55a06a32134bb3e30b83cce2feeaa">getTemp</a> (void)</td></tr>
<tr class="memdesc:ac5c55a06a32134bb3e30b83cce2feeaa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current temperature setting. <a href="classIRHitachiAc1.html#ac5c55a06a32134bb3e30b83cce2feeaa">More...</a><br /></td></tr>
<tr class="separator:ac5c55a06a32134bb3e30b83cce2feeaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7294dc1324877d4a64f7b4373d97d745"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a7294dc1324877d4a64f7b4373d97d745">setFan</a> (const uint8_t speed, const bool force=false)</td></tr>
<tr class="memdesc:a7294dc1324877d4a64f7b4373d97d745"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the speed of the fan. <a href="classIRHitachiAc1.html#a7294dc1324877d4a64f7b4373d97d745">More...</a><br /></td></tr>
<tr class="separator:a7294dc1324877d4a64f7b4373d97d745"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1c6acc2ff9946af7091695b616c2cac"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#af1c6acc2ff9946af7091695b616c2cac">getFan</a> (void)</td></tr>
<tr class="memdesc:af1c6acc2ff9946af7091695b616c2cac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current fan speed setting. <a href="classIRHitachiAc1.html#af1c6acc2ff9946af7091695b616c2cac">More...</a><br /></td></tr>
<tr class="separator:af1c6acc2ff9946af7091695b616c2cac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f3ced601e1131b70f840820ecb3feaa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a1f3ced601e1131b70f840820ecb3feaa">setMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a1f3ced601e1131b70f840820ecb3feaa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the operating mode of the A/C. <a href="classIRHitachiAc1.html#a1f3ced601e1131b70f840820ecb3feaa">More...</a><br /></td></tr>
<tr class="separator:a1f3ced601e1131b70f840820ecb3feaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc4fdc94989297b73e08e9c82bd00733"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#afc4fdc94989297b73e08e9c82bd00733">getMode</a> (void)</td></tr>
<tr class="memdesc:afc4fdc94989297b73e08e9c82bd00733"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the operating mode setting of the A/C. <a href="classIRHitachiAc1.html#afc4fdc94989297b73e08e9c82bd00733">More...</a><br /></td></tr>
<tr class="separator:afc4fdc94989297b73e08e9c82bd00733"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24ec128b6bb27cfc4be4dda9ece003d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a24ec128b6bb27cfc4be4dda9ece003d6">setSwingToggle</a> (const bool toggle)</td></tr>
<tr class="memdesc:a24ec128b6bb27cfc4be4dda9ece003d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Swing toggle setting of the A/C. <a href="classIRHitachiAc1.html#a24ec128b6bb27cfc4be4dda9ece003d6">More...</a><br /></td></tr>
<tr class="separator:a24ec128b6bb27cfc4be4dda9ece003d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4a5d4d5f9b4ae000d0acb232a1e2752"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#ac4a5d4d5f9b4ae000d0acb232a1e2752">getSwingToggle</a> (void)</td></tr>
<tr class="memdesc:ac4a5d4d5f9b4ae000d0acb232a1e2752"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Swing Toggle setting of the A/C. <a href="classIRHitachiAc1.html#ac4a5d4d5f9b4ae000d0acb232a1e2752">More...</a><br /></td></tr>
<tr class="separator:ac4a5d4d5f9b4ae000d0acb232a1e2752"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bcc61a9a33a3ddec41d44d52e7df0d3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a1bcc61a9a33a3ddec41d44d52e7df0d3">setSwingV</a> (const bool <a class="el" href="classIRHitachiAc1.html#aea4fe1fddb56c8df31077b301e9c6473">on</a>)</td></tr>
<tr class="memdesc:a1bcc61a9a33a3ddec41d44d52e7df0d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Vertical Swing setting of the A/C. <a href="classIRHitachiAc1.html#a1bcc61a9a33a3ddec41d44d52e7df0d3">More...</a><br /></td></tr>
<tr class="separator:a1bcc61a9a33a3ddec41d44d52e7df0d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24216e1bc4cf9e9187e9031cee1684dc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a24216e1bc4cf9e9187e9031cee1684dc">getSwingV</a> (void)</td></tr>
<tr class="memdesc:a24216e1bc4cf9e9187e9031cee1684dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Vertical Swing setting of the A/C. <a href="classIRHitachiAc1.html#a24216e1bc4cf9e9187e9031cee1684dc">More...</a><br /></td></tr>
<tr class="separator:a24216e1bc4cf9e9187e9031cee1684dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6cc42d52dfed89e23d3d180e7b69af9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#af6cc42d52dfed89e23d3d180e7b69af9">setSwingH</a> (const bool <a class="el" href="classIRHitachiAc1.html#aea4fe1fddb56c8df31077b301e9c6473">on</a>)</td></tr>
<tr class="memdesc:af6cc42d52dfed89e23d3d180e7b69af9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Horizontal Swing setting of the A/C. <a href="classIRHitachiAc1.html#af6cc42d52dfed89e23d3d180e7b69af9">More...</a><br /></td></tr>
<tr class="separator:af6cc42d52dfed89e23d3d180e7b69af9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5bfde2c87281d3e7f427cb7ea601e85"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#ac5bfde2c87281d3e7f427cb7ea601e85">getSwingH</a> (void)</td></tr>
<tr class="memdesc:ac5bfde2c87281d3e7f427cb7ea601e85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Horizontal Swing setting of the A/C. <a href="classIRHitachiAc1.html#ac5bfde2c87281d3e7f427cb7ea601e85">More...</a><br /></td></tr>
<tr class="separator:ac5bfde2c87281d3e7f427cb7ea601e85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ddb6a5d446b379884828e81df0806ee"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a2ddb6a5d446b379884828e81df0806ee">setSleep</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a2ddb6a5d446b379884828e81df0806ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Sleep setting of the A/C. <a href="classIRHitachiAc1.html#a2ddb6a5d446b379884828e81df0806ee">More...</a><br /></td></tr>
<tr class="separator:a2ddb6a5d446b379884828e81df0806ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2e82cce1d9dc6e6ce66f2382ffcf4d4"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#ab2e82cce1d9dc6e6ce66f2382ffcf4d4">getSleep</a> (void)</td></tr>
<tr class="memdesc:ab2e82cce1d9dc6e6ce66f2382ffcf4d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Sleep setting of the A/C. <a href="classIRHitachiAc1.html#ab2e82cce1d9dc6e6ce66f2382ffcf4d4">More...</a><br /></td></tr>
<tr class="separator:ab2e82cce1d9dc6e6ce66f2382ffcf4d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51ed6155f228628942ba08ea2ff5c547"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a51ed6155f228628942ba08ea2ff5c547">setOnTimer</a> (const uint16_t mins)</td></tr>
<tr class="memdesc:a51ed6155f228628942ba08ea2ff5c547"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the On Timer time. <a href="classIRHitachiAc1.html#a51ed6155f228628942ba08ea2ff5c547">More...</a><br /></td></tr>
<tr class="separator:a51ed6155f228628942ba08ea2ff5c547"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d5846c1efcc8fae1eeb6079a61cb18b"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a9d5846c1efcc8fae1eeb6079a61cb18b">getOnTimer</a> (void)</td></tr>
<tr class="memdesc:a9d5846c1efcc8fae1eeb6079a61cb18b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the On Timer vtime of the A/C. <a href="classIRHitachiAc1.html#a9d5846c1efcc8fae1eeb6079a61cb18b">More...</a><br /></td></tr>
<tr class="separator:a9d5846c1efcc8fae1eeb6079a61cb18b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62e9c7b68e63d1791d79805f2bce99df"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a62e9c7b68e63d1791d79805f2bce99df">setOffTimer</a> (const uint16_t mins)</td></tr>
<tr class="memdesc:a62e9c7b68e63d1791d79805f2bce99df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Off Timer time. <a href="classIRHitachiAc1.html#a62e9c7b68e63d1791d79805f2bce99df">More...</a><br /></td></tr>
<tr class="separator:a62e9c7b68e63d1791d79805f2bce99df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab99d73871d3510a830f988628dc5e33d"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#ab99d73871d3510a830f988628dc5e33d">getOffTimer</a> (void)</td></tr>
<tr class="memdesc:ab99d73871d3510a830f988628dc5e33d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Off Timer vtime of the A/C. <a href="classIRHitachiAc1.html#ab99d73871d3510a830f988628dc5e33d">More...</a><br /></td></tr>
<tr class="separator:ab99d73871d3510a830f988628dc5e33d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad850b6364603880ccc444381e85af564"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#ad850b6364603880ccc444381e85af564">getRaw</a> (void)</td></tr>
<tr class="memdesc:ad850b6364603880ccc444381e85af564"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a PTR to the internal state/code for this protocol. <a href="classIRHitachiAc1.html#ad850b6364603880ccc444381e85af564">More...</a><br /></td></tr>
<tr class="separator:ad850b6364603880ccc444381e85af564"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2d40bc477e30ee574f5c5e2ba4e09c2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#ae2d40bc477e30ee574f5c5e2ba4e09c2">setRaw</a> (const uint8_t new_code[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#abb5e2ddb1a8d3c6fa7a94dbe1989ec5d">kHitachiAc1StateLength</a>)</td></tr>
<tr class="memdesc:ae2d40bc477e30ee574f5c5e2ba4e09c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state from a valid code for this protocol. <a href="classIRHitachiAc1.html#ae2d40bc477e30ee574f5c5e2ba4e09c2">More...</a><br /></td></tr>
<tr class="separator:ae2d40bc477e30ee574f5c5e2ba4e09c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6211c96f463353791e5d922d9939f23c"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a6211c96f463353791e5d922d9939f23c">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
<tr class="memdesc:a6211c96f463353791e5d922d9939f23c"><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="classIRHitachiAc1.html#a6211c96f463353791e5d922d9939f23c">More...</a><br /></td></tr>
<tr class="separator:a6211c96f463353791e5d922d9939f23c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96c22fddcd7dfcc5b8f205cc5c7efdef"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a96c22fddcd7dfcc5b8f205cc5c7efdef">convertFan</a> (const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> speed)</td></tr>
<tr class="memdesc:a96c22fddcd7dfcc5b8f205cc5c7efdef"><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="classIRHitachiAc1.html#a96c22fddcd7dfcc5b8f205cc5c7efdef">More...</a><br /></td></tr>
<tr class="separator:a96c22fddcd7dfcc5b8f205cc5c7efdef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef93034682210a6c564fbea4461ab47e"><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="classIRHitachiAc1.html#aef93034682210a6c564fbea4461ab47e">toCommon</a> (void)</td></tr>
<tr class="memdesc:aef93034682210a6c564fbea4461ab47e"><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="classIRHitachiAc1.html#aef93034682210a6c564fbea4461ab47e">More...</a><br /></td></tr>
<tr class="separator:aef93034682210a6c564fbea4461ab47e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac70d5ed48897559d7e2ff0f843c79ddc"><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="classIRHitachiAc1.html#ac70d5ed48897559d7e2ff0f843c79ddc">toString</a> (void)</td></tr>
<tr class="memdesc:ac70d5ed48897559d7e2ff0f843c79ddc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into a human readable string. <a href="classIRHitachiAc1.html#ac70d5ed48897559d7e2ff0f843c79ddc">More...</a><br /></td></tr>
<tr class="separator:ac70d5ed48897559d7e2ff0f843c79ddc"><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:aa6b7ab76567ee15aa08b1594c67bd29d"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#aa6b7ab76567ee15aa08b1594c67bd29d">validChecksum</a> (const uint8_t state[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#abb5e2ddb1a8d3c6fa7a94dbe1989ec5d">kHitachiAc1StateLength</a>)</td></tr>
<tr class="memdesc:aa6b7ab76567ee15aa08b1594c67bd29d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify the checksum is valid for a given state. <a href="classIRHitachiAc1.html#aa6b7ab76567ee15aa08b1594c67bd29d">More...</a><br /></td></tr>
<tr class="separator:aa6b7ab76567ee15aa08b1594c67bd29d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6995513d5b59cd7b14cfff39c8843e8d"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a6995513d5b59cd7b14cfff39c8843e8d">calcChecksum</a> (const uint8_t state[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#abb5e2ddb1a8d3c6fa7a94dbe1989ec5d">kHitachiAc1StateLength</a>)</td></tr>
<tr class="memdesc:a6995513d5b59cd7b14cfff39c8843e8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the checksum for a given state. <a href="classIRHitachiAc1.html#a6995513d5b59cd7b14cfff39c8843e8d">More...</a><br /></td></tr>
<tr class="separator:a6995513d5b59cd7b14cfff39c8843e8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cbca62775089593fe2447a77d84b3d5"><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="classIRHitachiAc1.html#a5cbca62775089593fe2447a77d84b3d5">toCommonMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a5cbca62775089593fe2447a77d84b3d5"><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="classIRHitachiAc1.html#a5cbca62775089593fe2447a77d84b3d5">More...</a><br /></td></tr>
<tr class="separator:a5cbca62775089593fe2447a77d84b3d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99f205391deb75d23d08d63e1feff0d4"><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="classIRHitachiAc1.html#a99f205391deb75d23d08d63e1feff0d4">toCommonFanSpeed</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:a99f205391deb75d23d08d63e1feff0d4"><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="classIRHitachiAc1.html#a99f205391deb75d23d08d63e1feff0d4">More...</a><br /></td></tr>
<tr class="separator:a99f205391deb75d23d08d63e1feff0d4"><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:aa6687d6282b134d508d6534e8446b341"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#aa6687d6282b134d508d6534e8446b341">checksum</a> (const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#abb5e2ddb1a8d3c6fa7a94dbe1989ec5d">kHitachiAc1StateLength</a>)</td></tr>
<tr class="memdesc:aa6687d6282b134d508d6534e8446b341"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate and set the checksum values for the internal state. <a href="classIRHitachiAc1.html#aa6687d6282b134d508d6534e8446b341">More...</a><br /></td></tr>
<tr class="separator:aa6687d6282b134d508d6534e8446b341"><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:a61ad6289fc3719a850299788e642b98b"><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="classIRHitachiAc1.html#a61ad6289fc3719a850299788e642b98b">_irsend</a></td></tr>
<tr class="memdesc:a61ad6289fc3719a850299788e642b98b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Instance of the IR send class. <a href="classIRHitachiAc1.html#a61ad6289fc3719a850299788e642b98b">More...</a><br /></td></tr>
<tr class="separator:a61ad6289fc3719a850299788e642b98b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13340cba808d457d6093f1c9efffc419"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc1.html#a13340cba808d457d6093f1c9efffc419">remote_state</a> [<a class="el" href="IRremoteESP8266_8h.html#abb5e2ddb1a8d3c6fa7a94dbe1989ec5d">kHitachiAc1StateLength</a>]</td></tr>
<tr class="memdesc:a13340cba808d457d6093f1c9efffc419"><td class="mdescLeft">&#160;</td><td class="mdescRight">The state in native code. <a href="classIRHitachiAc1.html#a13340cba808d457d6093f1c9efffc419">More...</a><br /></td></tr>
<tr class="separator:a13340cba808d457d6093f1c9efffc419"><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 Hitachi 104-bit A/C messages. </p>
<dl class="section see"><dt>See also</dt><dd><a href="https://github.com/crankyoldgit/IRremoteESP8266/issues/1056">https://github.com/crankyoldgit/IRremoteESP8266/issues/1056</a> </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ac00cfd9a60e08d34f292878de47f622f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac00cfd9a60e08d34f292878de47f622f">&#9670;&nbsp;</a></span>IRHitachiAc1()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">IRHitachiAc1::IRHitachiAc1 </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="a28d5d351003d3e0bc1506b06cac8b3d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28d5d351003d3e0bc1506b06cac8b3d6">&#9670;&nbsp;</a></span>begin()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc1::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="a6995513d5b59cd7b14cfff39c8843e8d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6995513d5b59cd7b14cfff39c8843e8d">&#9670;&nbsp;</a></span>calcChecksum()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t IRHitachiAc1::calcChecksum </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>state</em>[], </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>length</em> = <code><a class="el" href="IRremoteESP8266_8h.html#abb5e2ddb1a8d3c6fa7a94dbe1989ec5d">kHitachiAc1StateLength</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>Calculate the checksum for a given state. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>The value to calc the checksum of. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The size/length of the state. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The calculated checksum value. </dd></dl>
</div>
</div>
<a id="a847a26df2e19668b147cba2eef595a21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a847a26df2e19668b147cba2eef595a21">&#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 IRHitachiAc1::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="aa6687d6282b134d508d6534e8446b341"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6687d6282b134d508d6534e8446b341">&#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 IRHitachiAc1::checksum </td>
<td>(</td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>length</em> = <code><a class="el" href="IRremoteESP8266_8h.html#abb5e2ddb1a8d3c6fa7a94dbe1989ec5d">kHitachiAc1StateLength</a></code></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 and set the checksum values for the internal state. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The size/length of the state. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a96c22fddcd7dfcc5b8f205cc5c7efdef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96c22fddcd7dfcc5b8f205cc5c7efdef">&#9670;&nbsp;</a></span>convertFan()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRHitachiAc1::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>
</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="a6211c96f463353791e5d922d9939f23c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6211c96f463353791e5d922d9939f23c">&#9670;&nbsp;</a></span>convertMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRHitachiAc1::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>
</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="af1c6acc2ff9946af7091695b616c2cac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1c6acc2ff9946af7091695b616c2cac">&#9670;&nbsp;</a></span>getFan()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRHitachiAc1::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. </dd></dl>
</div>
</div>
<a id="afc4fdc94989297b73e08e9c82bd00733"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc4fdc94989297b73e08e9c82bd00733">&#9670;&nbsp;</a></span>getMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRHitachiAc1::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="a9ad677e1a2d7acba032701051538b08a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ad677e1a2d7acba032701051538b08a">&#9670;&nbsp;</a></span>getModel()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="IRsend_8h.html#acd0c6107b5a6cab2080b18a8de14ea49">hitachi_ac1_remote_model_t</a> IRHitachiAc1::getModel </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/Detect the model of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The enum of the compatible model. </dd></dl>
</div>
</div>
<a id="ab99d73871d3510a830f988628dc5e33d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab99d73871d3510a830f988628dc5e33d">&#9670;&nbsp;</a></span>getOffTimer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint16_t IRHitachiAc1::getOffTimer </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 Off Timer vtime of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>Nr of minutes the timer is set to. </dd></dl>
</div>
</div>
<a id="a9d5846c1efcc8fae1eeb6079a61cb18b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d5846c1efcc8fae1eeb6079a61cb18b">&#9670;&nbsp;</a></span>getOnTimer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint16_t IRHitachiAc1::getOnTimer </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 On Timer vtime of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>Nr of minutes the timer is set to. </dd></dl>
</div>
</div>
<a id="ab4756a44153997ff686e8a14369407c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab4756a44153997ff686e8a14369407c0">&#9670;&nbsp;</a></span>getPower()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRHitachiAc1::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="a384412f40bfde7a9934fbb7eb2813641"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a384412f40bfde7a9934fbb7eb2813641">&#9670;&nbsp;</a></span>getPowerToggle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRHitachiAc1::getPowerToggle </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 toggle 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="ad850b6364603880ccc444381e85af564"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad850b6364603880ccc444381e85af564">&#9670;&nbsp;</a></span>getRaw()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t * IRHitachiAc1::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="ab2e82cce1d9dc6e6ce66f2382ffcf4d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2e82cce1d9dc6e6ce66f2382ffcf4d4">&#9670;&nbsp;</a></span>getSleep()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRHitachiAc1::getSleep </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 Sleep setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The currently configured sleep mode. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>Sleep modes only available in Auto &amp; Cool modes, otherwise it's off. </dd></dl>
</div>
</div>
<a id="ac5bfde2c87281d3e7f427cb7ea601e85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5bfde2c87281d3e7f427cb7ea601e85">&#9670;&nbsp;</a></span>getSwingH()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRHitachiAc1::getSwingH </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 Horizontal Swing setting 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="ac4a5d4d5f9b4ae000d0acb232a1e2752"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4a5d4d5f9b4ae000d0acb232a1e2752">&#9670;&nbsp;</a></span>getSwingToggle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRHitachiAc1::getSwingToggle </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 Swing Toggle setting 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="a24216e1bc4cf9e9187e9031cee1684dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24216e1bc4cf9e9187e9031cee1684dc">&#9670;&nbsp;</a></span>getSwingV()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRHitachiAc1::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 setting 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="ac5c55a06a32134bb3e30b83cce2feeaa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5c55a06a32134bb3e30b83cce2feeaa">&#9670;&nbsp;</a></span>getTemp()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRHitachiAc1::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="a646b554980706d0dd2ac762be8458cdb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a646b554980706d0dd2ac762be8458cdb">&#9670;&nbsp;</a></span>off()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc1::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>Change the power setting to Off. </p>
</div>
</div>
<a id="aea4fe1fddb56c8df31077b301e9c6473"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea4fe1fddb56c8df31077b301e9c6473">&#9670;&nbsp;</a></span>on()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc1::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>Change the power setting to On. </p>
</div>
</div>
<a id="aafad51c226066b8697cf00661ef38d99"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafad51c226066b8697cf00661ef38d99">&#9670;&nbsp;</a></span>send()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc1::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#acc8510281d2ff9a808501d375c03ba21">kHitachiAcDefaultRepeat</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="a7294dc1324877d4a64f7b4373d97d745"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7294dc1324877d4a64f7b4373d97d745">&#9670;&nbsp;</a></span>setFan()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc1::setFan </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>speed</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>force</em> = <code>false</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</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>
<tr><td class="paramdir">[in]</td><td class="paramname">force</td><td>Do we allow setting the speed regardless of restrictions? </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a1f3ced601e1131b70f840820ecb3feaa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f3ced601e1131b70f840820ecb3feaa">&#9670;&nbsp;</a></span>setMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc1::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="abb8c2c87e87f9d538f171e842c9d309a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb8c2c87e87f9d538f171e842c9d309a">&#9670;&nbsp;</a></span>setModel()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc1::setModel </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="IRsend_8h.html#acd0c6107b5a6cab2080b18a8de14ea49">hitachi_ac1_remote_model_t</a>&#160;</td>
<td class="paramname"><em>model</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the model of the A/C to emulate. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">model</td><td>The enum of the appropriate model. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a62e9c7b68e63d1791d79805f2bce99df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62e9c7b68e63d1791d79805f2bce99df">&#9670;&nbsp;</a></span>setOffTimer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc1::setOffTimer </td>
<td>(</td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>mins</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the Off Timer time. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">mins</td><td>The time expressed in total number of minutes. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a51ed6155f228628942ba08ea2ff5c547"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a51ed6155f228628942ba08ea2ff5c547">&#9670;&nbsp;</a></span>setOnTimer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc1::setOnTimer </td>
<td>(</td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>mins</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the On Timer time. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">mins</td><td>The time expressed in total number of minutes. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a4dd034793018ea58d0cc32e7a47e8f35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4dd034793018ea58d0cc32e7a47e8f35">&#9670;&nbsp;</a></span>setPower()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc1::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="ae30430edd92ec4b848c8a105a78e8068"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae30430edd92ec4b848c8a105a78e8068">&#9670;&nbsp;</a></span>setPowerToggle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc1::setPowerToggle </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 toggle 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="ae2d40bc477e30ee574f5c5e2ba4e09c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2d40bc477e30ee574f5c5e2ba4e09c2">&#9670;&nbsp;</a></span>setRaw()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc1::setRaw </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>new_code</em>[], </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>length</em> = <code><a class="el" href="IRremoteESP8266_8h.html#abb5e2ddb1a8d3c6fa7a94dbe1989ec5d">kHitachiAc1StateLength</a></code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</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">new_code</td><td>A valid code for this protocol. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The length of the new_code array. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a2ddb6a5d446b379884828e81df0806ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ddb6a5d446b379884828e81df0806ee">&#9670;&nbsp;</a></span>setSleep()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc1::setSleep </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 Sleep setting 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 mode of sleep to set the A/C to. </td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Sleep modes only available in Auto &amp; Cool modes, otherwise it's off. </dd></dl>
</div>
</div>
<a id="af6cc42d52dfed89e23d3d180e7b69af9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6cc42d52dfed89e23d3d180e7b69af9">&#9670;&nbsp;</a></span>setSwingH()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc1::setSwingH </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 Horizontal Swing setting 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="a24ec128b6bb27cfc4be4dda9ece003d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24ec128b6bb27cfc4be4dda9ece003d6">&#9670;&nbsp;</a></span>setSwingToggle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc1::setSwingToggle </td>
<td>(</td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>toggle</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the Swing toggle setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">toggle</td><td>true, the setting is on. false, the setting is off. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a1bcc61a9a33a3ddec41d44d52e7df0d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1bcc61a9a33a3ddec41d44d52e7df0d3">&#9670;&nbsp;</a></span>setSwingV()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc1::setSwingV </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 Vertical Swing setting 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="a10ba2dcbe447e505cbaa1a9b63f4823c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10ba2dcbe447e505cbaa1a9b63f4823c">&#9670;&nbsp;</a></span>setTemp()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc1::setTemp </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>celsius</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">celsius</td><td>The temperature in degrees celsius. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a9764b329d982d018b15098b3044f9596"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9764b329d982d018b15098b3044f9596">&#9670;&nbsp;</a></span>stateReset()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc1::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 internal state to a fixed known good state. </p>
</div>
</div>
<a id="aef93034682210a6c564fbea4461ab47e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef93034682210a6c564fbea4461ab47e">&#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> IRHitachiAc1::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="a99f205391deb75d23d08d63e1feff0d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99f205391deb75d23d08d63e1feff0d4">&#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> IRHitachiAc1::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="a5cbca62775089593fe2447a77d84b3d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5cbca62775089593fe2447a77d84b3d5">&#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> IRHitachiAc1::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="ac70d5ed48897559d7e2ff0f843c79ddc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac70d5ed48897559d7e2ff0f843c79ddc">&#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> IRHitachiAc1::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 current internal state into a human readable string. </p>
<dl class="section return"><dt>Returns</dt><dd>A human readable string. </dd></dl>
</div>
</div>
<a id="aa6b7ab76567ee15aa08b1594c67bd29d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6b7ab76567ee15aa08b1594c67bd29d">&#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 IRHitachiAc1::validChecksum </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>state</em>[], </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>length</em> = <code><a class="el" href="IRremoteESP8266_8h.html#abb5e2ddb1a8d3c6fa7a94dbe1989ec5d">kHitachiAc1StateLength</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">state</td><td>The array to verify the checksum of. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The length of the state 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="a61ad6289fc3719a850299788e642b98b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61ad6289fc3719a850299788e642b98b">&#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> IRHitachiAc1::_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="a13340cba808d457d6093f1c9efffc419"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13340cba808d457d6093f1c9efffc419">&#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 IRHitachiAc1::remote_state[<a class="el" href="IRremoteESP8266_8h.html#abb5e2ddb1a8d3c6fa7a94dbe1989ec5d">kHitachiAc1StateLength</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 native code. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="ir__Hitachi_8h_source.html">ir_Hitachi.h</a></li>
<li>src/<a class="el" href="ir__Hitachi_8cpp.html">ir_Hitachi.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>