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

1108 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: IRHitachiAc 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="classIRHitachiAc-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">IRHitachiAc Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Class for handling detailed Hitachi 224-bit A/C messages.
<a href="classIRHitachiAc.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 IRHitachiAc:</div>
<div class="dyncontent">
<div class="center"><img src="classIRHitachiAc__coll__graph.png" border="0" usemap="#IRHitachiAc_coll__map" alt="Collaboration graph"/></div>
<map name="IRHitachiAc_coll__map" id="IRHitachiAc_coll__map">
<area shape="rect" title="Class for handling detailed Hitachi 224&#45;bit A/C messages." alt="" coords="5,95,103,121"/>
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="21,5,87,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:a4c43e95e0cc28339e7162d7090ae16bf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a4c43e95e0cc28339e7162d7090ae16bf">IRHitachiAc</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
<tr class="memdesc:a4c43e95e0cc28339e7162d7090ae16bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor. <a href="classIRHitachiAc.html#a4c43e95e0cc28339e7162d7090ae16bf">More...</a><br /></td></tr>
<tr class="separator:a4c43e95e0cc28339e7162d7090ae16bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0564c00c60e64e57e20f3c1a4bd3d894"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a0564c00c60e64e57e20f3c1a4bd3d894">stateReset</a> (void)</td></tr>
<tr class="memdesc:a0564c00c60e64e57e20f3c1a4bd3d894"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the internal state to a fixed known good state. <a href="classIRHitachiAc.html#a0564c00c60e64e57e20f3c1a4bd3d894">More...</a><br /></td></tr>
<tr class="separator:a0564c00c60e64e57e20f3c1a4bd3d894"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc53e562370bbaba8b5dda26a62de427"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#afc53e562370bbaba8b5dda26a62de427">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#acc8510281d2ff9a808501d375c03ba21">kHitachiAcDefaultRepeat</a>)</td></tr>
<tr class="memdesc:afc53e562370bbaba8b5dda26a62de427"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send the current internal state as an IR message. <a href="classIRHitachiAc.html#afc53e562370bbaba8b5dda26a62de427">More...</a><br /></td></tr>
<tr class="separator:afc53e562370bbaba8b5dda26a62de427"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaabd743da491ef5d73c4b8c46f11241a"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#aaabd743da491ef5d73c4b8c46f11241a">calibrate</a> (void)</td></tr>
<tr class="memdesc:aaabd743da491ef5d73c4b8c46f11241a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform. <a href="classIRHitachiAc.html#aaabd743da491ef5d73c4b8c46f11241a">More...</a><br /></td></tr>
<tr class="separator:aaabd743da491ef5d73c4b8c46f11241a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62817c840f352bb01a394c37fc95f0f0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a62817c840f352bb01a394c37fc95f0f0">begin</a> (void)</td></tr>
<tr class="memdesc:a62817c840f352bb01a394c37fc95f0f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up hardware to be able to send a message. <a href="classIRHitachiAc.html#a62817c840f352bb01a394c37fc95f0f0">More...</a><br /></td></tr>
<tr class="separator:a62817c840f352bb01a394c37fc95f0f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a855e95d55d4ebfb3958b9d80a7b42c6f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a855e95d55d4ebfb3958b9d80a7b42c6f">on</a> (void)</td></tr>
<tr class="memdesc:a855e95d55d4ebfb3958b9d80a7b42c6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting to On. <a href="classIRHitachiAc.html#a855e95d55d4ebfb3958b9d80a7b42c6f">More...</a><br /></td></tr>
<tr class="separator:a855e95d55d4ebfb3958b9d80a7b42c6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62be5ca181c8c9d11b65b38b1ed178b5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a62be5ca181c8c9d11b65b38b1ed178b5">off</a> (void)</td></tr>
<tr class="memdesc:a62be5ca181c8c9d11b65b38b1ed178b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting to Off. <a href="classIRHitachiAc.html#a62be5ca181c8c9d11b65b38b1ed178b5">More...</a><br /></td></tr>
<tr class="separator:a62be5ca181c8c9d11b65b38b1ed178b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad78a7176ded93735a296eefbf75cbc06"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#ad78a7176ded93735a296eefbf75cbc06">setPower</a> (const bool <a class="el" href="classIRHitachiAc.html#a855e95d55d4ebfb3958b9d80a7b42c6f">on</a>)</td></tr>
<tr class="memdesc:ad78a7176ded93735a296eefbf75cbc06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting. <a href="classIRHitachiAc.html#ad78a7176ded93735a296eefbf75cbc06">More...</a><br /></td></tr>
<tr class="separator:ad78a7176ded93735a296eefbf75cbc06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3be8c7ded012c2ad5cab59ee6fe3c88e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a3be8c7ded012c2ad5cab59ee6fe3c88e">getPower</a> (void)</td></tr>
<tr class="memdesc:a3be8c7ded012c2ad5cab59ee6fe3c88e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the current power setting. <a href="classIRHitachiAc.html#a3be8c7ded012c2ad5cab59ee6fe3c88e">More...</a><br /></td></tr>
<tr class="separator:a3be8c7ded012c2ad5cab59ee6fe3c88e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f416886ae341cdb6d449572e4d168a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a9f416886ae341cdb6d449572e4d168a9">setTemp</a> (const uint8_t temp)</td></tr>
<tr class="memdesc:a9f416886ae341cdb6d449572e4d168a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the temperature. <a href="classIRHitachiAc.html#a9f416886ae341cdb6d449572e4d168a9">More...</a><br /></td></tr>
<tr class="separator:a9f416886ae341cdb6d449572e4d168a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85e0b2dfa45e894d1a89a2f862c6aa69"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a85e0b2dfa45e894d1a89a2f862c6aa69">getTemp</a> (void)</td></tr>
<tr class="memdesc:a85e0b2dfa45e894d1a89a2f862c6aa69"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current temperature setting. <a href="classIRHitachiAc.html#a85e0b2dfa45e894d1a89a2f862c6aa69">More...</a><br /></td></tr>
<tr class="separator:a85e0b2dfa45e894d1a89a2f862c6aa69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0760b07502b976880ee8499dc6fa61ff"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a0760b07502b976880ee8499dc6fa61ff">setFan</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:a0760b07502b976880ee8499dc6fa61ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the speed of the fan. <a href="classIRHitachiAc.html#a0760b07502b976880ee8499dc6fa61ff">More...</a><br /></td></tr>
<tr class="separator:a0760b07502b976880ee8499dc6fa61ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a5f5b9544e93e842f76a2f4994c1665"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a6a5f5b9544e93e842f76a2f4994c1665">getFan</a> (void)</td></tr>
<tr class="memdesc:a6a5f5b9544e93e842f76a2f4994c1665"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current fan speed setting. <a href="classIRHitachiAc.html#a6a5f5b9544e93e842f76a2f4994c1665">More...</a><br /></td></tr>
<tr class="separator:a6a5f5b9544e93e842f76a2f4994c1665"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a208f73a42484a1555145b41849e8c51f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a208f73a42484a1555145b41849e8c51f">setMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a208f73a42484a1555145b41849e8c51f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the operating mode of the A/C. <a href="classIRHitachiAc.html#a208f73a42484a1555145b41849e8c51f">More...</a><br /></td></tr>
<tr class="separator:a208f73a42484a1555145b41849e8c51f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a414a4083e15deb1890a1eab4827d78ac"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a414a4083e15deb1890a1eab4827d78ac">getMode</a> (void)</td></tr>
<tr class="memdesc:a414a4083e15deb1890a1eab4827d78ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the operating mode setting of the A/C. <a href="classIRHitachiAc.html#a414a4083e15deb1890a1eab4827d78ac">More...</a><br /></td></tr>
<tr class="separator:a414a4083e15deb1890a1eab4827d78ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e3ee78e4835fe402095b544c1e52f9f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a7e3ee78e4835fe402095b544c1e52f9f">setSwingVertical</a> (const bool <a class="el" href="classIRHitachiAc.html#a855e95d55d4ebfb3958b9d80a7b42c6f">on</a>)</td></tr>
<tr class="memdesc:a7e3ee78e4835fe402095b544c1e52f9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Vertical Swing setting of the A/C. <a href="classIRHitachiAc.html#a7e3ee78e4835fe402095b544c1e52f9f">More...</a><br /></td></tr>
<tr class="separator:a7e3ee78e4835fe402095b544c1e52f9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f507cc12bd3a5639777af0329a6dd5c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a9f507cc12bd3a5639777af0329a6dd5c">getSwingVertical</a> (void)</td></tr>
<tr class="memdesc:a9f507cc12bd3a5639777af0329a6dd5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Vertical Swing setting of the A/C. <a href="classIRHitachiAc.html#a9f507cc12bd3a5639777af0329a6dd5c">More...</a><br /></td></tr>
<tr class="separator:a9f507cc12bd3a5639777af0329a6dd5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae70600f4a6f9fd7579221b11cd73062f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#ae70600f4a6f9fd7579221b11cd73062f">setSwingHorizontal</a> (const bool <a class="el" href="classIRHitachiAc.html#a855e95d55d4ebfb3958b9d80a7b42c6f">on</a>)</td></tr>
<tr class="memdesc:ae70600f4a6f9fd7579221b11cd73062f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Horizontal Swing setting of the A/C. <a href="classIRHitachiAc.html#ae70600f4a6f9fd7579221b11cd73062f">More...</a><br /></td></tr>
<tr class="separator:ae70600f4a6f9fd7579221b11cd73062f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a080f87358270eb1482d4a5d4b873f22c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a080f87358270eb1482d4a5d4b873f22c">getSwingHorizontal</a> (void)</td></tr>
<tr class="memdesc:a080f87358270eb1482d4a5d4b873f22c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Horizontal Swing setting of the A/C. <a href="classIRHitachiAc.html#a080f87358270eb1482d4a5d4b873f22c">More...</a><br /></td></tr>
<tr class="separator:a080f87358270eb1482d4a5d4b873f22c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8dafb9436f63cfc2d7e4f558fbd6e1ab"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a8dafb9436f63cfc2d7e4f558fbd6e1ab">getRaw</a> (void)</td></tr>
<tr class="memdesc:a8dafb9436f63cfc2d7e4f558fbd6e1ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a PTR to the internal state/code for this protocol. <a href="classIRHitachiAc.html#a8dafb9436f63cfc2d7e4f558fbd6e1ab">More...</a><br /></td></tr>
<tr class="separator:a8dafb9436f63cfc2d7e4f558fbd6e1ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b67215c162ef508c68c49b621c5199b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a3b67215c162ef508c68c49b621c5199b">setRaw</a> (const uint8_t new_code[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a8bef76bac826afbbc51c2a867af15ed8">kHitachiAcStateLength</a>)</td></tr>
<tr class="memdesc:a3b67215c162ef508c68c49b621c5199b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state from a valid code for this protocol. <a href="classIRHitachiAc.html#a3b67215c162ef508c68c49b621c5199b">More...</a><br /></td></tr>
<tr class="separator:a3b67215c162ef508c68c49b621c5199b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1bdc5e22e5e24218421bd3bbb436301"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#af1bdc5e22e5e24218421bd3bbb436301">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
<tr class="memdesc:af1bdc5e22e5e24218421bd3bbb436301"><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="classIRHitachiAc.html#af1bdc5e22e5e24218421bd3bbb436301">More...</a><br /></td></tr>
<tr class="separator:af1bdc5e22e5e24218421bd3bbb436301"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c632c9efc42d9378fdefe608c9bb771"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a5c632c9efc42d9378fdefe608c9bb771">convertFan</a> (const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> speed)</td></tr>
<tr class="memdesc:a5c632c9efc42d9378fdefe608c9bb771"><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="classIRHitachiAc.html#a5c632c9efc42d9378fdefe608c9bb771">More...</a><br /></td></tr>
<tr class="separator:a5c632c9efc42d9378fdefe608c9bb771"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1ec8cc4b5025272c72dc69c6d6486a3"><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="classIRHitachiAc.html#aa1ec8cc4b5025272c72dc69c6d6486a3">toCommon</a> (void)</td></tr>
<tr class="memdesc:aa1ec8cc4b5025272c72dc69c6d6486a3"><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="classIRHitachiAc.html#aa1ec8cc4b5025272c72dc69c6d6486a3">More...</a><br /></td></tr>
<tr class="separator:aa1ec8cc4b5025272c72dc69c6d6486a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d927f191807b52fbd4f5d411e0c6519"><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="classIRHitachiAc.html#a9d927f191807b52fbd4f5d411e0c6519">toString</a> (void)</td></tr>
<tr class="memdesc:a9d927f191807b52fbd4f5d411e0c6519"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into a human readable string. <a href="classIRHitachiAc.html#a9d927f191807b52fbd4f5d411e0c6519">More...</a><br /></td></tr>
<tr class="separator:a9d927f191807b52fbd4f5d411e0c6519"><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:a2549c1fd2e8a603eb8924fbba8b26e87"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a2549c1fd2e8a603eb8924fbba8b26e87">validChecksum</a> (const uint8_t state[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a8bef76bac826afbbc51c2a867af15ed8">kHitachiAcStateLength</a>)</td></tr>
<tr class="memdesc:a2549c1fd2e8a603eb8924fbba8b26e87"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify the checksum is valid for a given state. <a href="classIRHitachiAc.html#a2549c1fd2e8a603eb8924fbba8b26e87">More...</a><br /></td></tr>
<tr class="separator:a2549c1fd2e8a603eb8924fbba8b26e87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e5da77c12ad105439eb159b6a58104a"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a6e5da77c12ad105439eb159b6a58104a">calcChecksum</a> (const uint8_t state[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a8bef76bac826afbbc51c2a867af15ed8">kHitachiAcStateLength</a>)</td></tr>
<tr class="memdesc:a6e5da77c12ad105439eb159b6a58104a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the checksum for a given state. <a href="classIRHitachiAc.html#a6e5da77c12ad105439eb159b6a58104a">More...</a><br /></td></tr>
<tr class="separator:a6e5da77c12ad105439eb159b6a58104a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7edc0f5571100e1778779081e1c1114"><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="classIRHitachiAc.html#ab7edc0f5571100e1778779081e1c1114">toCommonMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:ab7edc0f5571100e1778779081e1c1114"><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="classIRHitachiAc.html#ab7edc0f5571100e1778779081e1c1114">More...</a><br /></td></tr>
<tr class="separator:ab7edc0f5571100e1778779081e1c1114"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afba02d48c4a023ed800abf38d5314c7e"><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="classIRHitachiAc.html#afba02d48c4a023ed800abf38d5314c7e">toCommonFanSpeed</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:afba02d48c4a023ed800abf38d5314c7e"><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="classIRHitachiAc.html#afba02d48c4a023ed800abf38d5314c7e">More...</a><br /></td></tr>
<tr class="separator:afba02d48c4a023ed800abf38d5314c7e"><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:a3b65ccbd6de6b5dcb5a794b471e363f5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a3b65ccbd6de6b5dcb5a794b471e363f5">checksum</a> (const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a8bef76bac826afbbc51c2a867af15ed8">kHitachiAcStateLength</a>)</td></tr>
<tr class="memdesc:a3b65ccbd6de6b5dcb5a794b471e363f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate and set the checksum values for the internal state. <a href="classIRHitachiAc.html#a3b65ccbd6de6b5dcb5a794b471e363f5">More...</a><br /></td></tr>
<tr class="separator:a3b65ccbd6de6b5dcb5a794b471e363f5"><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:a0e296fa54cc4c56e16c6fc58c7ad827f"><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="classIRHitachiAc.html#a0e296fa54cc4c56e16c6fc58c7ad827f">_irsend</a></td></tr>
<tr class="memdesc:a0e296fa54cc4c56e16c6fc58c7ad827f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Instance of the IR send class. <a href="classIRHitachiAc.html#a0e296fa54cc4c56e16c6fc58c7ad827f">More...</a><br /></td></tr>
<tr class="separator:a0e296fa54cc4c56e16c6fc58c7ad827f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44b3d360b2a8044782b73f7f4a533a99"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a44b3d360b2a8044782b73f7f4a533a99">remote_state</a> [<a class="el" href="IRremoteESP8266_8h.html#a8bef76bac826afbbc51c2a867af15ed8">kHitachiAcStateLength</a>]</td></tr>
<tr class="memdesc:a44b3d360b2a8044782b73f7f4a533a99"><td class="mdescLeft">&#160;</td><td class="mdescRight">The state in native code. <a href="classIRHitachiAc.html#a44b3d360b2a8044782b73f7f4a533a99">More...</a><br /></td></tr>
<tr class="separator:a44b3d360b2a8044782b73f7f4a533a99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1368dcd7f4c0049822fd2b9b1e0acb5e"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc.html#a1368dcd7f4c0049822fd2b9b1e0acb5e">_previoustemp</a></td></tr>
<tr class="separator:a1368dcd7f4c0049822fd2b9b1e0acb5e"><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 224-bit A/C messages. </p>
<dl class="section see"><dt>See also</dt><dd><a href="https://github.com/ToniA/arduino-heatpumpir/blob/master/HitachiHeatpumpIR.cpp">https://github.com/ToniA/arduino-heatpumpir/blob/master/HitachiHeatpumpIR.cpp</a> </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a4c43e95e0cc28339e7162d7090ae16bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c43e95e0cc28339e7162d7090ae16bf">&#9670;&nbsp;</a></span>IRHitachiAc()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">IRHitachiAc::IRHitachiAc </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="a62817c840f352bb01a394c37fc95f0f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62817c840f352bb01a394c37fc95f0f0">&#9670;&nbsp;</a></span>begin()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc::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="a6e5da77c12ad105439eb159b6a58104a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e5da77c12ad105439eb159b6a58104a">&#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 IRHitachiAc::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#a8bef76bac826afbbc51c2a867af15ed8">kHitachiAcStateLength</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="aaabd743da491ef5d73c4b8c46f11241a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaabd743da491ef5d73c4b8c46f11241a">&#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 IRHitachiAc::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="a3b65ccbd6de6b5dcb5a794b471e363f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b65ccbd6de6b5dcb5a794b471e363f5">&#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 IRHitachiAc::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#a8bef76bac826afbbc51c2a867af15ed8">kHitachiAcStateLength</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="a5c632c9efc42d9378fdefe608c9bb771"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c632c9efc42d9378fdefe608c9bb771">&#9670;&nbsp;</a></span>convertFan()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRHitachiAc::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="af1bdc5e22e5e24218421bd3bbb436301"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1bdc5e22e5e24218421bd3bbb436301">&#9670;&nbsp;</a></span>convertMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRHitachiAc::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="a6a5f5b9544e93e842f76a2f4994c1665"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a5f5b9544e93e842f76a2f4994c1665">&#9670;&nbsp;</a></span>getFan()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRHitachiAc::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="a414a4083e15deb1890a1eab4827d78ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a414a4083e15deb1890a1eab4827d78ac">&#9670;&nbsp;</a></span>getMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRHitachiAc::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="a3be8c7ded012c2ad5cab59ee6fe3c88e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3be8c7ded012c2ad5cab59ee6fe3c88e">&#9670;&nbsp;</a></span>getPower()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRHitachiAc::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="a8dafb9436f63cfc2d7e4f558fbd6e1ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8dafb9436f63cfc2d7e4f558fbd6e1ab">&#9670;&nbsp;</a></span>getRaw()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t * IRHitachiAc::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="a080f87358270eb1482d4a5d4b873f22c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a080f87358270eb1482d4a5d4b873f22c">&#9670;&nbsp;</a></span>getSwingHorizontal()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRHitachiAc::getSwingHorizontal </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="a9f507cc12bd3a5639777af0329a6dd5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f507cc12bd3a5639777af0329a6dd5c">&#9670;&nbsp;</a></span>getSwingVertical()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IRHitachiAc::getSwingVertical </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="a85e0b2dfa45e894d1a89a2f862c6aa69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85e0b2dfa45e894d1a89a2f862c6aa69">&#9670;&nbsp;</a></span>getTemp()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRHitachiAc::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="a62be5ca181c8c9d11b65b38b1ed178b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62be5ca181c8c9d11b65b38b1ed178b5">&#9670;&nbsp;</a></span>off()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc::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="a855e95d55d4ebfb3958b9d80a7b42c6f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a855e95d55d4ebfb3958b9d80a7b42c6f">&#9670;&nbsp;</a></span>on()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc::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="afc53e562370bbaba8b5dda26a62de427"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc53e562370bbaba8b5dda26a62de427">&#9670;&nbsp;</a></span>send()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc::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="a0760b07502b976880ee8499dc6fa61ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0760b07502b976880ee8499dc6fa61ff">&#9670;&nbsp;</a></span>setFan()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc::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="a208f73a42484a1555145b41849e8c51f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a208f73a42484a1555145b41849e8c51f">&#9670;&nbsp;</a></span>setMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc::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="ad78a7176ded93735a296eefbf75cbc06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad78a7176ded93735a296eefbf75cbc06">&#9670;&nbsp;</a></span>setPower()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc::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="a3b67215c162ef508c68c49b621c5199b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b67215c162ef508c68c49b621c5199b">&#9670;&nbsp;</a></span>setRaw()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc::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#a8bef76bac826afbbc51c2a867af15ed8">kHitachiAcStateLength</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="ae70600f4a6f9fd7579221b11cd73062f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae70600f4a6f9fd7579221b11cd73062f">&#9670;&nbsp;</a></span>setSwingHorizontal()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc::setSwingHorizontal </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="a7e3ee78e4835fe402095b544c1e52f9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e3ee78e4835fe402095b544c1e52f9f">&#9670;&nbsp;</a></span>setSwingVertical()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc::setSwingVertical </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="a9f416886ae341cdb6d449572e4d168a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f416886ae341cdb6d449572e4d168a9">&#9670;&nbsp;</a></span>setTemp()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc::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="a0564c00c60e64e57e20f3c1a4bd3d894"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0564c00c60e64e57e20f3c1a4bd3d894">&#9670;&nbsp;</a></span>stateReset()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc::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="aa1ec8cc4b5025272c72dc69c6d6486a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1ec8cc4b5025272c72dc69c6d6486a3">&#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> IRHitachiAc::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="afba02d48c4a023ed800abf38d5314c7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afba02d48c4a023ed800abf38d5314c7e">&#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> IRHitachiAc::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="ab7edc0f5571100e1778779081e1c1114"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7edc0f5571100e1778779081e1c1114">&#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> IRHitachiAc::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="a9d927f191807b52fbd4f5d411e0c6519"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d927f191807b52fbd4f5d411e0c6519">&#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> IRHitachiAc::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="a2549c1fd2e8a603eb8924fbba8b26e87"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2549c1fd2e8a603eb8924fbba8b26e87">&#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 IRHitachiAc::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#a8bef76bac826afbbc51c2a867af15ed8">kHitachiAcStateLength</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="a0e296fa54cc4c56e16c6fc58c7ad827f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e296fa54cc4c56e16c6fc58c7ad827f">&#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> IRHitachiAc::_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="a1368dcd7f4c0049822fd2b9b1e0acb5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1368dcd7f4c0049822fd2b9b1e0acb5e">&#9670;&nbsp;</a></span>_previoustemp</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t IRHitachiAc::_previoustemp</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a44b3d360b2a8044782b73f7f4a533a99"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44b3d360b2a8044782b73f7f4a533a99">&#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 IRHitachiAc::remote_state[<a class="el" href="IRremoteESP8266_8h.html#a8bef76bac826afbbc51c2a867af15ed8">kHitachiAcStateLength</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>